1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 04:29:01 +00:00

Bug fixes by Karri Kaksonen.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4893 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-12-30 19:05:33 +00:00
parent d993b332a4
commit 38ebc6618d
2 changed files with 1 additions and 4 deletions

View File

@ -41,7 +41,6 @@
jsr pusheax jsr pusheax
lda #<(__BLOCKSIZE__-1) lda #<(__BLOCKSIZE__-1)
ldx #>(__BLOCKSIZE__-1) ldx #>(__BLOCKSIZE__-1)
jsr decax1
jsr axlong jsr axlong
jsr tosandeax jsr tosandeax
eor #$FF eor #$FF

View File

@ -63,15 +63,13 @@ parmok: jsr popax
beq flagsok beq flagsok
cmp #(O_WRONLY | O_CREAT) cmp #(O_WRONLY | O_CREAT)
beq flagsok beq flagsok
jsr popax
lda #EINVAL lda #EINVAL
ldx #0
jmp __directerrno jmp __directerrno
flagsok: flagsok:
jsr popax jsr popax
jsr _atoi jsr _atoi
jsr pushax
jsr ldax0sp
jsr _openn jsr _openn
ldx #$00 ldx #$00
lda #$01 lda #$01