cmp #0 -> cmp #1

This commit is contained in:
Kelvin Sherlock 2015-08-21 17:32:33 -04:00
parent bb9d3b8359
commit 4fff4f9c2d
6 changed files with 15 additions and 17 deletions

View File

@ -171,14 +171,14 @@ class1
~DebugHexDump param_blk_ptr, #DirEntryRecGS.__sizeof ~DebugHexDump param_blk_ptr, #DirEntryRecGS.__sizeof
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
class0 class0
ldx #get_dir_entry_dcb_0_size-4 ldx #get_dir_entry_dcb_0_size-4
dispatch get_dir_entry_dcb_0 dispatch get_dir_entry_dcb_0
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl

View File

@ -50,14 +50,14 @@ class1
tax tax
dispatch get_eof_dcb_1 dispatch get_eof_dcb_1
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
class0 class0
ldx #get_eof_dcb_0_size-4 ldx #get_eof_dcb_0_size-4
dispatch get_eof_dcb_0 dispatch get_eof_dcb_0
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
get_eof_dcb_0 get_eof_dcb_0

View File

@ -66,14 +66,14 @@ class1
tax tax
dispatch file_info_dcb_1 dispatch file_info_dcb_1
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
class0 class0
ldx #file_info_dcb_0_size-4 ldx #file_info_dcb_0_size-4
dispatch file_info_dcb_0 dispatch file_info_dcb_0
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
exit exit

View File

@ -59,14 +59,14 @@ class1
tax tax
dispatch get_mark_dcb_1 dispatch get_mark_dcb_1
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
class0 class0
ldx #get_mark_dcb_0_size-4 ldx #get_mark_dcb_0_size-4
dispatch get_mark_dcb_0 dispatch get_mark_dcb_0
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
get_mark_dcb_0 get_mark_dcb_0

View File

@ -75,14 +75,14 @@ class1
tax tax
dispatch open_dcb_1 dispatch open_dcb_1
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
class0 class0
ldx #open_dcb_0_size-4 ldx #open_dcb_0_size-4
dispatch open_dcb_0 dispatch open_dcb_0
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
exit exit

View File

@ -394,7 +394,7 @@ done
; eventually, data_zone, data_block. ; eventually, data_zone, data_block.
ldx call_class ldx call_class
lda @table,x lda tc_table,x
tay tay
lda transferCount lda transferCount
sta [param_blk_ptr],y sta [param_blk_ptr],y
@ -404,19 +404,17 @@ done
sta [param_blk_ptr],y sta [param_blk_ptr],y
lda tool_error lda tool_error
cmp #0 cmp #1
rtl rtl
@table dc.w FileIORec.transferCount, IORecGS.transferCount
lda tool_error
cmp #0
exit exit
rtl rtl
tc_table dc.w FileIORec.transferCount, IORecGS.transferCount
endp endp
update_counts proc update_counts proc