Updated c128 accelerator code and documentation.

This commit is contained in:
Marco van den Heuvel
2018-04-21 09:52:50 -07:00
parent 3f5683b391
commit 28f26991ac
4 changed files with 76 additions and 74 deletions

View File

@@ -21,13 +21,16 @@ _detect_c128:
; Make sure the CPU is a 8502
.byte $1A ; NOP on 8502, INA on 65(S)C(E)02, 4510 and 65816
bne not_found
beq found
.byte $3A ; decrement A again, so a #$00 can be returned
rts
found:
; Make sure a C128 VICIIe is present
ldy C128_VICIIE_CLK
cpy #$FF
beq not_found
found:
lda #$01
not_found:
rts