Why does Z80 RC2014 ROM image 88 not have CP/M or BASIC boot options?

101 views
Skip to first unread message

Nick Bolton

unread,
Jan 4, 2023, 5:43:11 AM1/4/23
to RC2014-Z80
Hi all,

Re-posting here for visibility:

Summary: When I configure the ROM card to address 010 (88 on my ROM) to run SCM with CP/M boot option, I don't actually get a CP/M boot option.

DEVICES, DIR, HELP, RESET 
*CPM 
Bad command
*cpm 
Bad command 
*BASIC 
Bad parameter 
*basic Bad parameter

Any ideas?

Thanks,
Nick

Spencer Owen

unread,
Jan 4, 2023, 5:52:56 AM1/4/23
to rc201...@googlegroups.com
Hi Nick,

As "88" is a 16k image, you should only use the ROM selection jumpers for A14 and A15, which should be set to 10 respectively.

Hope this helps

Spencer

--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/52b9d7b5-e46f-4957-a2e7-1ad805422234n%40googlegroups.com.

Nick Bolton

unread,
Jan 4, 2023, 6:02:57 AM1/4/23
to RC2014-Z80
Ah, amazing. Thanks Spencer. Such a simple solution: Remove the A13 jumper!

I would to understand why removing the A13 jumper solves this. I understand that it's a 16k image and therefore takes up two 8k blocks on the ROM, and I understand why I need to set the page size to 16k, but I don't understand why setting the A13 jumper causes the boot options to disappear. 

Is it because setting A13 causes only 8k to be loaded into the page? Is there some code in the SCM image that detects the image size and only shows the boot options if 16k was loaded?

Spencer Owen

unread,
Jan 4, 2023, 6:14:31 AM1/4/23
to rc201...@googlegroups.com
I'm sure Steve Cousins can confirm this, but I believe that when SCM starts up, it will expect to see the appropriate bits of code for CP/M or BASIC at certain addresses.  If these aren't there then there's no point in giving you the CP/M or BASIC boot options.

Spencer

Justin Skists

unread,
Jan 4, 2023, 7:17:32 AM1/4/23
to rc201...@googlegroups.com
IIRC, there is a "filesystem" at the top of the ROM that has the
"files" for CPM and BASIC. By having A13 set, that upper 8Kbytes is a
repeat of the first 88kbytes and won't see the filesystem.

I've fallen for the 8Kbyte vs 16Kbyte ROM swapping problem many times,
and never learn! :-D
> To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/CAO93PteXJ%2BYNkd0FQ8iUCvQWXwEuCm_K7yuY8Urht4%2BoHD_iSQ%40mail.gmail.com.

Steve Cousins

unread,
Jan 4, 2023, 2:41:16 PM1/4/23
to RC2014-Z80
Yes, that is it. 

There is a file directory at the top of the second 8k block that tells SCM what extra functions are available in the second 8k. Without this file directory being visible SCM does not show the extra functions in the help text and it doesn't recognise the extra commands.

Essentially, SCM can be expanded with executable files (commands) and text files (help) as described by the file directory entries at the top of the ROM. Below is an example for a 32k version of SCM.

*m7f80
7F80:  FF FF FF FF FF FF FF FF  FF FF FF FF FF FF FF FF  ................
7F90:  FF FF FF FF FF FF FF FF  FF FF FF FF FF FF FF FF  ................
7FA0:  55 AA 43 50 4D 20 20 20  20 20 03 00 74 4D 44 00  U.CPM     ..tMD.
7FB0:  55 AA 43 50 4D 20 20 20  20 20 41 80 55 4C B4 00  U.CPM     A.UL..
7FC0:  55 AA 42 41 53 49 43 20  20 20 03 00 09 4D 6B 00  U.BASIC   ...Mk.
7FD0:  55 AA 57 42 41 53 49 43  20 20 01 00 03 30 52 1C  U.WBASIC  ...0R.
7FE0:  55 AA 42 41 53 49 43 20  20 20 01 00 00 30 55 1C  U.BASIC   ...0U.
7FF0:  55 AA 4D 6F 6E 69 74 6F  72 20 02 00 00 00 B7 23  U.Monitor .....#


This is all documented should you wish to learn more or add functions to the ROM yourself.

Steve


Nick Bolton

unread,
Jan 14, 2023, 7:56:28 AM1/14/23
to RC2014-Z80
Thanks Steve, I might try that some day.

> This is all documented should you wish to learn more or add functions to the ROM yourself.

Reply all
Reply to author
Forward
0 new messages