fixed decimal mode usage problem
This commit is contained in:
1 parent
4eac225287
commit
7539c6b072
10 files changed
+4
-2
No files matched your search
@@ -160,7 +160,7 @@ __l:
|
||||
|
||||
.pseudocommand bne_far dst
|
||||
{
|
||||
#if HAS_OPCODES_65CE02
|
||||
#if HAS_OPCODES_65CE02 && XXX_DISABLED // XXX causes problems with XEMU, investigate why
|
||||
.var offset = mod($10000 + dst.getValue() - *, $10000)
|
||||
.byte $D3, mod(offset, $100), floor(offset / $100)
|
||||
#else
|
||||
|
||||
@@ -17,7 +17,9 @@ print_hex_byte:
|
||||
lsr
|
||||
cmp #$0A
|
||||
adc #$30
|
||||
cld
|
||||
jsr JCHROUT
|
||||
sed
|
||||
pla
|
||||
and #$0F
|
||||
cmp #$0A
|
||||
|
||||
Reference in new issue
Block a user