Added GEOS 1.3 and 1.5 detection.

This commit is contained in:
Marco van den Heuvel
2018-02-15 15:24:58 -08:00
parent 5d73f28a85
commit b0ef67d14c
3 changed files with 17 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ _get_ostype:
and #%11110000
cmp #$10
beq geos10
cmp #$13 ; either 1.3 or 1.5
beq geos13check
lda gatewayFlag
cmp #$41
beq gateway
@@ -37,6 +39,7 @@ _get_ostype:
beq geos_on_plus4
ora version
rts
geos13:
geos10:
lda version
rts
@@ -54,6 +57,13 @@ megapatch3:
lda #$03
ora c128Flag
rts
geos13check:
lda mp3Flag
cmp #$03
bne geos13
geos15:
lda #$15
rts
_get_tv:
jsr _get_ostype