Search found 8 matches
- Sat Jul 09, 2022 7:02 pm
- Forum: Programming
- Topic: Welcome! Please add your programs.
- Replies: 62
- Views: 123784
Re: My WIP PacMan
[...] PacMan [...] still needs some work, but it's coming along. Please comment. You should at least add a detection for "PacMan got eaten" and "All pills are eaten -> next level". ;) Also, sometimes the scoring seems to 'drop'/'forget' pills. That being said, continuing a journ...
- Wed Jul 06, 2022 9:36 am
- Forum: Programming
- Topic: Welcome! Please add your programs.
- Replies: 62
- Views: 123784
My WIP PacMan
Back in the day I cut my teeth writing different versions of PacMan on the Vic 20. Recently I downloaded the emulator and starting working on this. It still needs some work, but it's coming along. Please comment.
- Thu Jun 16, 2022 12:31 pm
- Forum: Programming
- Topic: Where will my program be loaded? How can I control that?
- Replies: 24
- Views: 4039
Re: Where will my program be loaded? How can I control that?
That's a valid point.
When I was a kid all I had was an unexpanded Vic-20, all these options make my head spin!
When I was a kid all I had was an unexpanded Vic-20, all these options make my head spin!
- Wed Jun 15, 2022 9:44 pm
- Forum: Emulation and Cross Development
- Topic: Petscii strings in Vasm
- Replies: 4
- Views: 6286
Petscii strings in Vasm
When I declare a string of bytes in vasm, using the .byte directive, it assumes the characters are ascii .byte “HELLOWORLD”, $00 ; 11 bytes but, I obviously want petscii codes, so everything has to be encoded: ; H E L L O W O R L D .byte $08, $05, $0C, $0C, $0F, $17, $0F, $12, $0C, $04, $00 ; 11 byt...
- Wed Jun 15, 2022 4:30 pm
- Forum: Programming
- Topic: Where will my program be loaded? How can I control that?
- Replies: 24
- Views: 4039
Re: Where will my program be loaded? How can I control that?
Until I load a program to a specific place in memory, I still lack a valid pointer to my reserved data. For instance, if I want to load a file, I need to have the filename to load. I declared the filename following the bootstrap, so I just need to add the filename length to the bootstrap jump, and t...
- Wed Jun 15, 2022 1:58 pm
- Forum: Programming
- Topic: Where will my program be loaded? How can I control that?
- Replies: 24
- Views: 4039
Re: Where will my program be loaded? How can I control that?
I think I have it worked out using the kernel functions to load binary files.
So, build a loader in assembly, with the basic boot strap to start.
Then, that loader will load files into specific memory addresses, into program, graphics and sounds.
I’ll post my findings soon!
So, build a loader in assembly, with the basic boot strap to start.
Then, that loader will load files into specific memory addresses, into program, graphics and sounds.
I’ll post my findings soon!
- Wed Jun 15, 2022 8:07 am
- Forum: Programming
- Topic: Where will my program be loaded? How can I control that?
- Replies: 24
- Views: 4039
Re: Where will my program be loaded? How can I control that?
Thank you all for you input.
When you talk about writing a loader, I assume it will pull a binary file from the disk and write it to a specific memory address.
Is this done in a BASIC program, or ML? How do you build this on a disk?
When you talk about writing a loader, I assume it will pull a binary file from the disk and write it to a specific memory address.
Is this done in a BASIC program, or ML? How do you build this on a disk?
- Tue Jun 14, 2022 4:28 pm
- Forum: Programming
- Topic: Where will my program be loaded? How can I control that?
- Replies: 24
- Views: 4039
Where will my program be loaded? How can I control that?
I've the program below. It's my first assembly program for the Vic-20 I'm trying to make it work with all memory configurations. It reads the screen page and saves it to zero page for indirect index addressing. I know it's still using a hard-coded color address, but I haven't worked that out yet. It...