diff --git a/bannex/help.s b/bannex/help.s index a387eb99..b3179d02 100644 --- a/bannex/help.s +++ b/bannex/help.s @@ -174,17 +174,35 @@ ym2151: jsr printstring .byte "UNKNOWN",13,0 - bra final + bra cpu ym_isopm: jsr printstring .byte "YM2151 (OPM)",13,0 - bra final + bra cpu ym_isopp: jsr printstring .byte "YM2164 (OPP)",13,0 +cpu: + jsr printstring + .byte "CPU: 65C",0 + + sec + .byte $c2, $03 ; SEP #$03, clear carry if 65C816 + bcc cpu816 + +cpu02: + jsr printstring + .byte "02",13,0 + bra final + +cpu816: + jsr printstring + .byte "816",13,0 + + final: jsr printstring .byte 13,"FOR DOCUMENTATION, SEE",13 diff --git a/bannex/splash.s b/bannex/splash.s index 29cb1ff1..66d61a6c 100644 --- a/bannex/splash.s +++ b/bannex/splash.s @@ -167,12 +167,22 @@ iniend: bne @ok ; assume major version > 0 is fine lda $9f2b cmp #3 - bcs @ok ; assume version 0.3.x or higher is okay + bcc @notok ; assume version < 0.3.x is not okay + lda $9f2c + cmp #3 ; 0.3.3 is problematic + beq @badvera + bra @ok @notok: stz VERA_CTRL lda #updatevera jsr strout + bra @ok +@badvera: + stz VERA_CTRL + lda #badvera + jsr strout @ok: stz VERA_CTRL plp @@ -287,3 +297,11 @@ updatevera: .byte "LATER ROMS MAY NOT BOOT WITH THE",13 .byte "CURRENT VERA VERSION.",13 .byte 13,"USE THE HELP COMMAND FOR FIRMWARE INFO",13,0 + +badvera: + .byte 13,"YOUR VERA'S FIRMWARE VERSION IS KNOWN",13 + .byte "TO HAVE VISUAL GLITCHES. PLEASE CHECK",13 + .byte "FOR A VERSION NEWER THAN 0.3.3, OR",13 + .byte "DOWNGRADE TO VERSION 0.3.2.",13 + .byte "RELEASES: HTTPS://GITHUB.COM/X16COMMUNITY/VERA-MODULE/RELEASES/",13 + .byte 13,"USE THE HELP COMMAND FOR FIRMWARE INFO",13,0