mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +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
|
||||
lda #<(__BLOCKSIZE__-1)
|
||||
ldx #>(__BLOCKSIZE__-1)
|
||||
jsr decax1
|
||||
jsr axlong
|
||||
jsr tosandeax
|
||||
eor #$FF
|
||||
|
@ -63,15 +63,13 @@ parmok: jsr popax
|
||||
beq flagsok
|
||||
cmp #(O_WRONLY | O_CREAT)
|
||||
beq flagsok
|
||||
jsr popax
|
||||
lda #EINVAL
|
||||
ldx #0
|
||||
jmp __directerrno
|
||||
|
||||
flagsok:
|
||||
jsr popax
|
||||
jsr _atoi
|
||||
jsr pushax
|
||||
jsr ldax0sp
|
||||
jsr _openn
|
||||
ldx #$00
|
||||
lda #$01
|
||||
|
Loading…
x
Reference in New Issue
Block a user