* * DLLD * Let's play Dragon's Lair :-) * * (c) 2024, Brutal Deluxe Software * mx %11 org $2000 lst off use 4/Int.Macs use 4/Misc.Macs use 4/Util.Macs *----------------------------------- * MACROS *----------------------------------- _sendSTRING mac ldx #>]1 ldy #<]1 jsr sendString eom *----------------------------------- * EQUATES *----------------------------------- SLOT = 2 N0 = SLOT*16 CN = SLOT!$C0 dpFROM = $fc dpTO = dpFROM+2 chrRETURN = $0d *---------- CH = $24 KBD = $c000 CLR80VID = $c00c KBDSTROBE = $c010 INIT = $FB2F TABV = $FB5B HOME = $FC58 PRBYTE = $FDDA COUT = $FDED SETNORM = $FE84 SETKBD = $FE89 *----------------------------------- * CODE *----------------------------------- bra jumpME theFRAME ds 2 jumpME sta CLR80VID jsr INIT ; text screen jsr SETNORM ; set normal text mode jsr SETKBD ; reset input to keyboard jsr HOME ; home cursor and clear to end of page clc xce rep #$30 lda #323 sta theFRAME sec xce sep #$30 jsr initSERIAL ; set the serial addresses jsr initPORT ; init the serial port for LD support ldx #>strDS ; on veut la frame number ldy #strSA ; start the player ldy #strSE ; Move to frame ldy #strPL ; Play to frame ldy #strQF ; Frame number request ldy #strRJ ; It's the end! ldy #responseBUF ldy #