소스 검색

zasm: fix 16-bit include lineno counting

It was actually counted in 8-bit mode...
pull/75/head
Virgil Dupras 4 년 전
부모
커밋
68ef686c3c
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      apps/zasm/io.asm

+ 3
- 2
apps/zasm/io.asm 파일 보기

@@ -88,8 +88,9 @@ ioGetB:
; We have newline. Increase lineno and return (the rest of the
; processing below isn't needed.
push hl
ld hl, IO_INC_LINENO
inc (hl)
ld hl, (IO_INC_LINENO)
inc hl
ld (IO_INC_LINENO), hl
pop hl
ret



불러오는 중...
취소
저장