Posted: Sun Jan 29, 2012 11:08 am
Yep, those appear to work fine, cheers
The Commodore Vic 20 Forum
http://sleepingelephant.com/ipw-web/bulletin/bb/
http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?t=5157
I need to understand why the original rom doesn't work with the last VICE (too much time) btw with this modify it works (real VIC and all VICE versions) so it's ok for me.e5frog wrote: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
Yes, I'm quite sure bytes from $AF92 to $AFFF are unused so I will use this 4K version for Mega-Cart.In the 4kB version I assume the $FD bytes last are just a "filler" and put the nine needed bytes in there.
Yes the right pointers in $A000 and $A001 for the 4K version patch are $AE $AF that means the start address is $AFAE, I think it was just a e5frog oversight with no consequences because it pointed to "harmless" code (SBC $FDFD,X).buzbard wrote:I noticed that you set the RESET vector to $AFA2 but your patch is actually at $AFAE, was there a reason for that?
Code: Select all
ae af 4a af 41 30 c3 c2
Code: Select all
afae 20 8D FD JSR $FD8D
afb1 20 18 E5 JSR $E518
afb4 4C 4A AF JMP $AF4A
Code: Select all
A336 CMP #$31 'Key 1
BNE $A345
LDA #$D0 'Set poiner to beginning of easy word list ($A8D0)
STA $01
LDA #$A8
STA $02
JMP $A3EE
A345 CMP #$32 'Key 2
BNE $A354
LDA #$F0 'Set pointer to beginning of hard word list ($ABF0)
STA $01
LDA #$AB
STA $02
JMP $A3EE
A354 CMP #$33 'Key 3
BNE $A363
LDA #$29 'Set pointer to your word($1229)
STA $01
LDA #$12
STA $02
JMP $A379
A363 CMP #$34 'Key 4
BNE $A372
LDA #$00 'Set pointer to cassette words($1800)
STA $01
LDA #$18
STA $02
JMP $A3EE
A372 CMP #$35 'Key 5
BNE $A32F
JMP $AF42 'Exit to BASIC and load words
Yes I agree, btw I wish to find a way to autostart the game and use the cassette words feature...I really don't think it was meant to be an auto-starting cartridge.
Code: Select all
a372 C9 35 CMP #$35
a374 D0 B9 BNE $A32F
a376 4C 42 AF JMP $AF42
buzbard wrote:Here is the word list that I copied from the ROM image for testing.
http://www.mediafire.com/?v7wpswcd7khikxk
Ok, I will try to fix it for both autostart and cassette load.I'm attempting to write a program that will allow you to create/edit word lists on the VIC but it's late here, 1:30am, if someone else want to take a stab at it, I don't mind.