mirror of
https://github.com/a2-4am/a2fc.system.git
synced 2024-11-16 11:04:32 +00:00
commit
8e324cdb3b
@ -47,10 +47,17 @@ Start
|
|||||||
+ jsr MLI ; open file
|
+ jsr MLI ; open file
|
||||||
!byte kMLIOpen
|
!byte kMLIOpen
|
||||||
!word mliParamForOpen
|
!word mliParamForOpen
|
||||||
inx ; convert to kMLIReadOrQuitCount
|
inx ; convert to kMLIReadOrQuitCount, clear Z flag
|
||||||
stx <mliparam ; set parameter count for MLI call
|
stx <mliparam ; set parameter count for MLI call
|
||||||
; both Read and Quit accept four parameters
|
; both Read and Quit accept four parameters
|
||||||
jmp ReadFile
|
!cpu 65816
|
||||||
|
sep #2 ; set Z flag on 65816 only
|
||||||
|
!cpu 6502
|
||||||
|
bne + ; conditionally skip GS-specific code
|
||||||
|
lda $c029
|
||||||
|
and #$1f
|
||||||
|
sta $c029
|
||||||
|
+ jmp ReadFile
|
||||||
|
|
||||||
CodeStart
|
CodeStart
|
||||||
!pseudopc $50 {
|
!pseudopc $50 {
|
||||||
|
Loading…
Reference in New Issue
Block a user