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
lda tool_error
cmp #0
cmp #1
rtl
class0
ldx #get_dir_entry_dcb_0_size-4
dispatch get_dir_entry_dcb_0
lda tool_error
cmp #0
cmp #1
rtl

View File

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

View File

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

View File

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

View File

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

View File

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