code size optimization

This commit is contained in:
FeralChild64 committed 2021-02-08 18:52:14 +01:00
1 parent d1b19c8739
commit 2ea3ebe4b0
4 files changed
+28 -30

No files matched your search

@@ -1,7 +1,6 @@
;
; Implementation of ACPTR/CIOUT commands.
; For detailed description see 'm65dos_bridge.s' file.
; Implementation of ACPTR command. For detailed description see 'm65dos_bridge.s' file.
;
@@ -54,6 +53,10 @@ dos_ACPTR_eoi:
clc
rts
; Retrieving bytes from the status string
dos_ACPTR_getsts_SD: ; get next byte of status - SD card
ldx SD_STATUS_IDX
@@ -75,35 +78,8 @@ dos_ACPTR_getsts_RD: ; get next byte of status - ram disk
lda RD_STATUS_STR,x
rts
dos_ACPTR_getsts_table:
!word dos_ACPTR_getsts_SD
!word dos_ACPTR_getsts_FD
!word dos_ACPTR_getsts_RD
dos_CIOUT:
; XXX provide implementation
sec
rts
kernalstatus_EOI:
; XXX reuse original code instead
lda IOSTATUS
ora #K_STS_EOI
sta IOSTATUS
rts
+12
View File
@@ -0,0 +1,12 @@
;
; Implementation of ACPTR command. For detailed description see 'm65dos_bridge.s' file.
;
dos_CIOUT:
; XXX provide implementation
sec
rts
+10
View File
@@ -0,0 +1,10 @@
;; #IMPORT# KERNAL_0 = KERNAL_0_combined.sym
;
; Definitions for calling MEGA65 segment KERNAL_0 routines from DOS_1
;
;; #ALIAS# kernalstatus_EOI = KERNAL_0.kernalstatus_EOI
;; #ALIAS# kernalstatus_DEVICE_NOT_FOUND = KERNAL_0.kernalstatus_DEVICE_NOT_FOUND