mirror of https://github.com/nmlgc/ReC98.git
33 lines
607 B
NASM
33 lines
607 B
NASM
; FILE _streams [_NFILE_]
|
|
_streams label byte
|
|
stdin FILE <0, 209h, 0, 0, 0, 0, 0, 0, offset stdin>
|
|
stdout FILE <0, 20Ah, 1, 0, 0, 0, 0, 0, offset stdout>
|
|
stderr FILE <0, 202h, 2, 0, 0, 0, 0, 0, offset stderr>
|
|
stdaux FILE <0, 243h, 3, 0, 0, 0, 0, 0, offset stdaux>
|
|
stdprn FILE <0, 242h, 4, 0, 0, 0, 0, 0, offset stdprn>
|
|
files FILE 15 dup(<0>)
|
|
|
|
; unsigned int _nfile
|
|
__nfile dw _NFILE
|
|
; unsigned int _openfd[_NFILE_]
|
|
_openfd dw 6001h
|
|
dw 6002h
|
|
dw 6002h
|
|
dw 0A004h
|
|
dw 0A002h
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|
|
dw 0
|