mirror of
https://github.com/Tolik-Trek/File-Manager.git
synced 2026-06-15 01:11:36 +03:00
112 lines
1.4 KiB
NASM
Executable File
112 lines
1.4 KiB
NASM
Executable File
; rst 00h
|
||
jp $+3
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
; RST 08h. BIOS calls
|
||
push af
|
||
ld a,0 ; ¢ª«. <20>‡“ <20>¨®á ¢ 0-¥ ®ª®
|
||
out (7Ch),a
|
||
pop af
|
||
ret
|
||
db 0C9h
|
||
; RST 10h. DOS calls
|
||
jp alt10 ; fm.asm
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
; RST 18h
|
||
jp alt18 ; fm.asm
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
; rst 20h
|
||
jp $+3
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
; rst 28h
|
||
rst28: push af
|
||
ld a,0 ; á®åà. page_module0
|
||
out (82h),a
|
||
pop af
|
||
jr spec_interrupt
|
||
; rst 30h
|
||
jp $+3
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
db -1
|
||
;
|
||
; RST 38h. Main Interrupt
|
||
jp $+3
|
||
di
|
||
push iy
|
||
push ix
|
||
push hl
|
||
push de
|
||
push bc
|
||
push af
|
||
ex af,af'
|
||
exx
|
||
push hl
|
||
push de
|
||
push bc
|
||
push af
|
||
;call show_clock ; ®â®¡à ¦¥¨¥ ç ᮢ
|
||
;di
|
||
ds 4;
|
||
pop af
|
||
pop bc
|
||
pop de
|
||
pop hl
|
||
exx
|
||
ex af,af'
|
||
pop af
|
||
pop bc
|
||
pop de
|
||
pop hl
|
||
pop ix
|
||
pop iy
|
||
ei
|
||
reti
|
||
|
||
db -1,-1,-1,-1,-1 ; £à ¨æã 0064h
|
||
|
||
;0064h
|
||
retn
|
||
db 0 ; 0066h (®â ¥¬ áª. ¯à¥àë¢ ¨ï ¢ IM0)
|
||
db 0
|
||
db 0
|
||
jp $-5
|
||
|
||
;================ Š®¥æ ¡«®ª ‚¥ªâ®à®¢ à¥áâ à⮢ =====================
|
||
|
||
|
||
|
||
|
||
;-------------------------------------------------
|
||
; ‚ë§®¢ ®¡à ¡®â稪 #28 à¥áâ àâ .
|
||
; ˆá¯®«ì§®¢ âì ᢮© á⥪.
|
||
;-------------------------------------------------
|
||
spec_interrupt:
|
||
ld (spc_stk+1),sp
|
||
ld sp,spec_stack
|
||
call spec_funcs ; ®âà ¡®âª äãªæ¨¨
|
||
spc_stk:ld sp,0
|
||
jp rst28 ; ¢ª«. 0-î áâà. ä¬
|
||
|
||
|
||
|
||
ds 64
|
||
spec_stack: ; á⥪ ¡ ª¨
|