;--------------------------------------------------------------------------------------------------------
;-
;- Name:            rfs_mrom_bank9.asm
;- Created:         March 2026
;- Author(s):       Philip Smart
;- Description:     RFS message strings for MROM bank 9 (picoZ80/RomDisk builds).
;-                  Offloaded from UROM bank 6 to free ~750 bytes of UROM space.
;-                  PRINTMSG in bank 6 copies the message from this MROM bank to a RAM buffer
;-                  before processing, since monitor ROM functions (PRNT, ?DSP, etc.) need the
;-                  monitor MROM bank active during character output.
;-
;- Copyright:       (c) 2018-2026 Philip Smart <philip.smart@net2net.org>
;-
;--------------------------------------------------------------------------------------------------------
;- This source file is free software: you can redistribute it and-or modify
;- it under the terms of the GNU General Public License as published
;- by the Free Software Foundation, either version 3 of the License, or
;- (at your option) any later version.
;-
;- This source file is distributed in the hope that it will be useful,
;- but WITHOUT ANY WARRANTY; without even the implied warranty of
;- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;- GNU General Public License for more details.
;-
;- You should have received a copy of the GNU General Public License
;- along with this program.  If not, see <http://www.gnu.org/licenses/>.
;--------------------------------------------------------------------------------------------------------

            INCLUDE "macros.asm"

;-----------------------------------------------
; MROM Bank 9 - RFS Message Strings
;-----------------------------------------------
            ORG     00000H

            ; Safety: if this bank is accidentally executed, reset to default.
            XOR     A
            LD      (0EFFDh),A       ; Select MROM bank 0
            JP      00000H

            ; Pad to message area start
            ALIGN_NOPS 010H

            ;--------------------------------------
            ;
            ; Message table
            ;
            ;--------------------------------------
MSGSONTZ:   DB      "+ TZ"                                                                     ; Version 2.x with version 2.1+ of tranZPUter board installed.
MSGSON:     DB      "+ RFS ",    0ABh, "2.40  **",             00DH, 000H                      ; Version 2.x-> as we are now using the v2.x PCB with 4 devices on-board
MSGNOTFND:  DB      "Not Found",                               00DH, 000H
MSGRDIRLST: DB      "ROM Directory:",                          00DH, 000H
MSGTRM:     DB                                                 00DH, 000H
MSGBADCMD:  DB      "???",                                     00DH, 000H
MSGSDINITER:DB      "SD Card Error ", 0F9H,                    00DH, 000H
MSGCDIRLST: DB      "SD Card Dir ",0F9H,":",                   00DH, 000H
MSGSDRERR:  DB      "Read error, Sec:",0FBH,                         000H
MSGSDWERR:  DB      "Write error, Sec:",0FBH,                        000H
MSGSVFAIL:  DB      "Error, save failed.",                     00DH, 000H
MSGERAFAIL: DB      "Dir update failed.",                      00DH, 000H
MSGSVDIRENT:DB      "Saving into dir entry:",0FBH,             00DH, 000H
MSGERASEDIR:DB      "Deleted dir entry:",0FBH,                       000H
MSGCMTDATA: DB      "Load:",0FEH,",Exec:",0FFH, ",Size:",0FBH, 00DH, 000H
MSGDCHEAD:  DB      '"',0FAH,'"',00DH,"Load:",0FDH,",Exec:",0FEH,",Size:",0FFH,00DH,000H
MSGNOTBIN:  DB      "Not binary",                              00DH, 000H
MSGLOAD:    DB      00DH, "Loading ",'"',0FAH,'"',             00DH, 000H
MSGSAVE:    DB      00DH, "Filename: ",                              000H
MSGDIRFULL: DB      "Dir full",                                00DH, 000H
MSGE1:      DB      00DH, "Check sum error!",                  00DH, 000H
MSGCMTWRITE:DB      00DH, "Writing ", '"',0FAH,'"',            00DH, 000H
MSGOK:      DB      00DH, "OK!",                               00DH, 000H
MSGSAVEOK:  DB      "Tape image saved.",                       00DH, 000H
MSGBOOTDRV: DB      00DH, "Floppy boot drive ?",                     000H
MSGLOADERR: DB      00DH, "Disk loading error",                00DH, 000H
MSGIPLLOAD: DB      00DH, "Disk loading ",                           000H
MSGDSKNOTMST:DB     00DH, "Not a boot disk",                   00Dh, 000H
MSGINITM:   DB      "Init memory",                             00DH, 000H
MSGREAD4HEX:DB      "Bad hex number",                          00DH, 000H
MSGT2SDERR: DB      "Copy Tape to SD Failed",                  00DH, 000H
MSGSD2TERR: DB      "Copy SD to Tape Failed",                  00DH, 000H
MSGT2SDOK:  DB      "Success, Tape to SD done.",               00DH, 000H
MSGSD2TOK:  DB      "Success, SD to Tape done.",               00DH, 000H
MSGNOTZINST:DB      "No tranZPUter >=v2 card installed.",      00DH, 000H
MSGNOCMTDIR:DB      "CMT has no dir.",                         00DH, 000H
MSGINVDRV:  DB      "Invalid drive, SD=0..9 or C=CMT",         00DH, 000H
MSGNOVERIFY:DB      "No Verify for SD!",                       00DH, 000H
MSGNOINSTR: DB      "Bad instruction.",                        00DH, 000H
MSGNOPARAM: DB      "Bad parameter.",                          00DH, 000H

MSGQDERR:   DB      "QD: Read error",                          00DH, 000H
MSGQDFMT:   DB      "QD: Not ready",                           00DH, 000H

            ; Floppy directory messages.
MSGFDDIR:   DB      "FD ",0F9H,":",                            00DH, 000H
MSGFDINFO:  DB      " L:",0FFH," E:",0FEH," S:",0FBH,          00DH, 000H

            ; Pad to 4K boundary
            ALIGN   1000H
