Some improvements to Atari exec() after review.

This commit is contained in:
Christian Groessler
2016-06-14 20:44:57 +02:00
parent 94ba9575ec
commit d0faf471b8
2 changed files with 3 additions and 6 deletions

View File

@@ -33,10 +33,8 @@ notsupp:lda #ENOSYS ; "unsupported system call"
.byte $2C ; bit opcode, eats the next 2 bytes
noiocb: lda #EMFILE ; "too many open files"
jsr incsp2 ; clean up stack
seterr: jsr __directerrno
lda #$FF
tax
rts ; return -1
seterr: jmp __directerrno
; entry point