mirror of
https://github.com/cc65/cc65.git
synced 2024-07-14 19:29:26 +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:
parent
d993b332a4
commit
38ebc6618d
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user