Bomber Word discovered!
Moderator: Moderators
- eslapion
- ultimate expander
- Posts: 5458
- Joined: Fri Jun 23, 2006 7:50 pm
- Location: Canada
- Occupation: 8bit addict
Processing... please wait...Mayhem wrote:BOMBER WORD!!!
Attach in Vice to $A0 and then tap Pg Up (which maps to Restore) to boot the game. Can someone fiddle with the code so that it auto starts and doesn't need Restore to be hit?
Be normal.
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
- e5frog
- Vic 20 Nerd
- Posts: 551
- Joined: Sat Feb 17, 2007 5:46 pm
- Website: http://channelf.se
- Location: Sweden
- Occupation: Service Engineer
Remember to remove expansion memory when starting in VICE.
Cartridge seems to jump right back to FD2F in the hardware reset routine - as it would if no cartridge was hooked up.
Is it enough to put the correct address there or are other things needed?
The routine at FD2F sets up everything for basic, perhaps that's needed for the cartridge?
Maybe these are needed?
JSR LAB_FD8D ; initialise and test RAM
JSR LAB_FD52 ; restore default I/O vectors
JSR LAB_FDF9 ; initialize I/O registers
JSR LAB_E518 ; initialise hardware
Cartridge seems to jump right back to FD2F in the hardware reset routine - as it would if no cartridge was hooked up.
Is it enough to put the correct address there or are other things needed?
The routine at FD2F sets up everything for basic, perhaps that's needed for the cartridge?
Maybe these are needed?
JSR LAB_FD8D ; initialise and test RAM
JSR LAB_FD52 ; restore default I/O vectors
JSR LAB_FDF9 ; initialize I/O registers
JSR LAB_E518 ; initialise hardware
My other interest: http://channelf.se
- eslapion
- ultimate expander
- Posts: 5458
- Joined: Fri Jun 23, 2006 7:50 pm
- Location: Canada
- Occupation: 8bit addict
Dunno what to say.Mayhem wrote:Eslapion, did you get my reply email btw?
(I'm not sure the fix worked properly, it crashed immediately when I tried it in Vice)
I tried it in VICE here and it worked fine in both NTSC and PAL config.
Yup!Kweepa wrote:I tried copying the restore pointer over the boot pointer and VICE froze with a purple screen and a lot of @@@ on the screen.
I'm guessing that's what slappy did?
Be normal.
- e5frog
- Vic 20 Nerd
- Posts: 551
- Joined: Sat Feb 17, 2007 5:46 pm
- Website: http://channelf.se
- Location: Sweden
- Occupation: Service Engineer
... and that means changing the first six bytes in the PRG file to
00 A0 4A AF 4A AF
instead of
00 A0 2F FD 4A AF
?
That doesn't work for me either, using WinVICE 2.2 (win32 x86 mingw)
Hangs like this:
00 A0 4A AF 4A AF
instead of
00 A0 2F FD 4A AF
?
That doesn't work for me either, using WinVICE 2.2 (win32 x86 mingw)
Hangs like this:
My other interest: http://channelf.se
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
- e5frog
- Vic 20 Nerd
- Posts: 551
- Joined: Sat Feb 17, 2007 5:46 pm
- Website: http://channelf.se
- Location: Sweden
- Occupation: Service Engineer
What configuration do you have Eslapion? Seems strange only you get it to autostart.
The game works in the original version presented, but you need to press restore before it starts.
Is it just 4kB, the second half looks very empty?
The $FD bytes seem to end exactly at 4kB and then there's mostly $1F or bytes around that kind of like a bad tape being TAP:ed. $1F, $20 and $00 represents about 90% of the data in the second 4k block.
The game works in the original version presented, but you need to press restore before it starts.
Is it just 4kB, the second half looks very empty?
The $FD bytes seem to end exactly at 4kB and then there's mostly $1F or bytes around that kind of like a bad tape being TAP:ed. $1F, $20 and $00 represents about 90% of the data in the second 4k block.
My other interest: http://channelf.se
- Mayhem
- High Bidder
- Posts: 3027
- Joined: Mon May 24, 2004 7:03 am
- Website: http://www.mayhem64.co.uk
- Location: London
- e5frog
- Vic 20 Nerd
- Posts: 551
- Joined: Sat Feb 17, 2007 5:46 pm
- Website: http://channelf.se
- Location: Sweden
- Occupation: Service Engineer
I played around with it a bit, It seemed it didn't start without these two subroutines being called first, someone with more experience might slim it down more.
JSR LAB_FD8D ; initialise and test RAM
JSR LAB_E518 ; initialise hardware
Then I put a jump to $AF4A and it starts just as if Restore was pressed from BASIC.
In the 4kB version I assume the $FD bytes last are just a "filler" and put the nine needed bytes in there. Should they be part of the program then I guess the 8k version needs to be used in case someone else can't make some room. I assume that the second 4kB block is just crap anyway and put the code in at $B000 and filled the rest with $FF.
Try it out:
http://channelf.se/files/vic/BOMBA04K_patch.prg
http://channelf.se/files/vic/BOMBA08K_patch.prg
JSR LAB_FD8D ; initialise and test RAM
JSR LAB_E518 ; initialise hardware
Then I put a jump to $AF4A and it starts just as if Restore was pressed from BASIC.
In the 4kB version I assume the $FD bytes last are just a "filler" and put the nine needed bytes in there. Should they be part of the program then I guess the 8k version needs to be used in case someone else can't make some room. I assume that the second 4kB block is just crap anyway and put the code in at $B000 and filled the rest with $FF.
Try it out:
http://channelf.se/files/vic/BOMBA04K_patch.prg
http://channelf.se/files/vic/BOMBA08K_patch.prg
My other interest: http://channelf.se