lst off * * DreamWorld Software Generic Shell * * v .02 10/8/90 * * Updated for Merlin 32 07/11/2020 * * play.s contains the interesting bits of the code * * OA-F "damnmenu" to find menu definitions * rel dsk shell.l use drm.macs ext player ; ; Defines, for the list of allocated memory banks ; banks_count equ $80 banks_data equ $82 vidmode = $8080 ;Video mode for QD II (320) ($8000) ;640 mode ($8080) * startup tools, begin program tool equ $e10000 startup ent mx %00 ; in theory here, our ProgID is already in A ; and our DP is already in D ;pha ;phd phk plb ;make the program bank = data bank SetRes sep $30 ; 8-bit mode lda #$5C ; jml stal $3F8 ; ctrl-y vector rep $30 ; 16-bit mode lda #Resume stal $3F9 ; $3f9,3fa lda #^Resume ; bank byte stal $3FB ; $3fb,3fc _TLStartUp ;Gotta start this baby ~MMStartUp ;start the Memory manager ; CheckToolError pla ;retrieve our program ID sta ProgID ;------------------------------------------------------------------------------- ; ; Initialize List of memory Banks ; stz