Merge pull request #48 from ksherlock/linker-3-char-opcode

qlink iigs - truncate opcodes to 3 characters
This commit is contained in:
marketideas 2020-05-30 11:09:07 -07:00 committed by GitHub
commit cacc4661ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -496,12 +496,15 @@ getopcode
blt ]lup
beq ]lup
dex
:done lda #$2020
:done lda #$2020 ;truncate to 3 bytes max
sta opcode+$1,Y
sta opcode+4
tya
and #$1F
sep $20
sta opcode
cmp #4
bcc :3
lda #3
:3 sta opcode
]flush lda linebuff,x
cmp #' '
bne :tya