- #define OPC_TABSTART 0x1900
+ #define OPC_TABSTART 0x1B00
#else
#define OPC_TABSTART 0x1200
#endif
#else
#define OPC_TABSTART 0x1200
#endif
;
do_op_out: ; out (c),opl
;
do_op_out: ; out (c),opl
+.if PORT_DEBUG
+ printnewline
+ printstring "Port write: "
+ mov temp,opl
+ lcall printhex
+ printstring " -> ("
+ ldd temp,y+oz_c
+ lcall printhex
+ printstring ") "
+.endif
mov temp,opl
ldd temp2,y+oz_c
lcall portWrite
mov temp,opl
ldd temp2,y+oz_c
lcall portWrite
; temp = destreg, xh = memaddrh, xl = memaddrl
.macro mem_read
; temp = destreg, xh = memaddrh, xl = memaddrl
.macro mem_read
.endm
;----------------------------------------------
.endm
;----------------------------------------------
.macro mem_read_s
movw xl,@0l
.macro mem_read_s
movw xl,@0l
.endm
;----------------------------------------------
.endm
;----------------------------------------------
.macro mem_write_d
movw x,@0l
.macro mem_write_d
movw x,@0l
.endm
;----------------------------------------------
.endm
;----------------------------------------------
; -------------- RAM disk (8-bit DRAM) --------------
; -------------- RAM disk (8-bit DRAM) --------------