Search found 37 matches

by PJW
Thu Feb 20, 2020 11:41 pm
Forum: General Discussion
Topic: BitMap
Replies: 2
Views: 37

Re: BitMap

As for the layout of bitmap data: the bytes are laid out in left-to-right, top-to-bottom order. So, in your case, $B1:0000 contains the color index value of the top left pixel. $B1:0001 contains the color of the pixel next on the right. $B1:0280 contains left-most pixel on the second row... and so o...
by PJW
Wed Feb 05, 2020 4:37 pm
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 5665

Re: Foenix IDE

Indeed I let the kernel initialize things then load, without zeroing memory, my code and run it. So I assume at this point that the kernel code is still there and that what it initialized is still ok. For my code, the C compiler ( according to what I understood because there is not a very helpful d...
by PJW
Tue Feb 04, 2020 2:01 pm
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 5665

Re: Foenix IDE

Hi ! Still working on my graphic/UI library with the IDE and Simulator, I try to manage interrupts. For the moment I deal with keyboard interrupts. If I understood well, when a keyboard event happens the INT_PENDING_REG1 ($000141) register should be $01 (bit 0 set). But when watching at $000141 in ...
by PJW
Tue Feb 04, 2020 1:33 pm
Forum: General Discussion
Topic: Small LUT question
Replies: 3
Views: 119

Re: Small LUT question

@PJW, That last one was indeed a miscalculaion (3FFF vs 3FF), sorry. From your text you say "Vicky memory map is the same as the RevB" But revB has the pallettes at 1F40 and 1F80 (I think like emulator) not 1F00 and 1F40. So either stef's published revC spec contains the wrong range or they moved. ...
by PJW
Tue Feb 04, 2020 1:23 am
Forum: General Discussion
Topic: Small LUT question
Replies: 3
Views: 119

Re: Small LUT question

I've been toying with the emulator to see how vicky works and I have the following questions/notes. Hope someone can answer them for me From the Revc4 published memory map I get the following: $AF:1F00..$AF: 173F - Text Mode Color Palette (Foreground) $AF:1F40..$AF:1F7F - Text Mode Color Palette (B...
by PJW
Sat Dec 14, 2019 10:35 pm
Forum: General Discussion
Topic: BASIC816 Repository is Open
Replies: 0
Views: 205

BASIC816 Repository is Open

I have decided that it is now time to bite the bullet and make the BASIC816 repository public. The first of the Rev C boards are apparently printed and getting ready for assembly, so the folks who purchased them will soon be getting them in their eager hands. Also the BASIC interpreter has reached a...
by PJW
Sat Dec 14, 2019 3:33 pm
Forum: General Discussion
Topic: Foenix IDE
Replies: 96
Views: 5665

Re: Foenix IDE

First, apologize if what I will say is wrong because I'm absolutly bad in assembly... No need to apologize. Comfort with assembly is pretty rare these days to begin with, and the 65816 is even more limited. Since several days I am chasing a strange bug that appeared in my test app written in C. But...
by PJW
Wed Dec 04, 2019 9:30 pm
Forum: General Discussion
Topic: New BASIC Update Video: Graphics Demo!
Replies: 0
Views: 227

New BASIC Update Video: Graphics Demo!

I've added some graphics commands to BASIC. In this video, I talk a bit about how bitmap and sprite graphics work in Vicky and demonstrate some of the new commands:

by PJW
Wed Oct 30, 2019 2:15 pm
Forum: General Discussion
Topic: General Comments
Replies: 68
Views: 7430

Re: General Comments

Oh, and my apologies, but I've not done anything with the mouse. There is mouse handling code in those interrupt routines, but I've never used the mouse so I can't offer any advice there.
by PJW
Wed Oct 30, 2019 2:14 pm
Forum: General Discussion
Topic: General Comments
Replies: 68
Views: 7430

Re: General Comments

Since things are still in development, this is somewhat complicated. When all is said and done, there will be a kernel routine to get keyboard input (there is one now, although I don't think it is working at the moment). My BASIC interpreter is working with the keyboard more directly. The way the ke...