inline code
/********************* K.C.Y 1993 *********************/ #include /* #*@ #*@ @@@ --> @@@ @@@ @@@ */ void Sprite1(POS, SSEG, SOFF, SXLEN, SYLEN, PG) unsigned int POS, SSEG, SOFF, SXLEN, SYLEN, PG; { unsigned int Spr, SB; Spr=SXLEN*SYLEN; SB=80*SYLEN; asm push ds asm push si asm mov ax, 0A000h asm mov es, ax asm mov ds, SSEG asm mov si, SOFF asm mov di, PG asm mov bx, POS asm shr bx, 1 asm shr bx,..
2023. 11. 17.
keyscan
/********************* K.C.Y 1993 *********************/ #include void interrupt far (*oldKBD)(void); unsigned char scancode[128]={ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; unsi..
2023. 11. 17.