; MSGLOB.MAC 900709 ; This file is included for interested hackers who might want to modify ; this patch area or suggest other configuration options that could be ; moved into this patch area. ; How to patch? If you don't know, you probably shouldn't attempt it. ; But if you're interested, and don't yet have a favorite method, ; personally I prefer to edit on disk, using DU. DON'T do it on a ; disk you can't afford to wipe out -- we all get it wrong from time ; to time, and don't say I didn't warn you! Other favorites are disk ; editors such as SuperZap. Some people prefer to load into memory, ; using a debugger such as DDT or ZSID, make modifications, and write ; out to disk. Personally I dislike this, I find it too easy to write ; less than I ought to, resulting in a program which sometimes works ; and sometimes doesn't. I'm told Z8E is also a good tool for this. ; Good luck. ; If patching is a black art for you, and you've sent me a generous ; registration fee, I'll do my best to send you a patched version, or ; write a patching utility, or something. Tell me what disk formats ; you can read, and whether you have a modem. .Z80 ; Constants set for different versions: hazelt equ 0 ; 1 for Hazletine video sequences amstrad equ 1 ; 1 for Amstrad ; Constants, such as ASCII characters: NL EQU 0Ah ; Newline character (translates to cr,lf) ; Content of MaxiSweep patch area (starts at 103h): ViewLines:: ; 103h DB 23 ; (17h) No. of lines on screen view SeqRVid:: ; 104h ; Reverse video (no. of bytes, then bytes ; to send to CP/M bios or terminal) if hazelt DB 2,7Eh,1Fh else if amstrad DB 2,1BH,70H else DB 0,0,0 endif endif DB 0,0,0,0 SeqNVid:: ; 10Bh ; Normal video if hazelt DB 2,7EH,19H else if amstrad DB 2,1BH,71H else DB 0,0,0 endif endif DB 0,0,0,0 ChView1Line:: ; 112h DB ' ' ; Character to be typed by user to scroll ; only 1 line when viewing ChVw1LineMask:: ; 113h db 0FFh ; Change to 0DFh if ChView1Line is set ; to a letter. This allows letter to be ; independant of case. MultiSectorIO:: db 1 ; 114h ; Change to 0 to force single sector i/o ; (intended for systems like TurboDos). ; This is forced to 0 anyway if CP/M version ; before 3.0 is seen during startup. VTitle:: ; 115h ; Message at bottom of screen when viewing ; (0 byte terminates message) DB NL DB '^C/^X aborts, space advances a line, cr a page.' DB NL,0 DB '-End-' ; Not used in code, just a nice readable msg ; Can be overwritten if you need a ; slightly longer message in VTitle. CmdLineBuf:: ; If non-zero, and no command line, this ; fakes a command line. Don't include a ; leading space, however. Terminate with ; a null, not a newline. dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 dw 0,0,0,0,0,0,0,0 ; 128 bytes for command line DB '-End-' ; Not used in code, just a nice readable ; message for humans to see the end of the ; patch area. Altering anything beyond ; here is not advised. END