SCM App, Compact Flash Info

This App provides information about a compact flash card.

Version 1.1 supports Z80 and Z180 processors, and CompactFlash cards at addresses 0x10 and 0x90. It is therefore compatible with RC2014 and Z50Bus systems.

This program is written as an App for the Small Computer Monitor v1.0
and later.

This program reads identification information from a Compact Flash card and displays the results. It also executes the Compact Flash’s internal diagnostics.

The program implements the recommended status checks and tests for errors reported by the Compact Flash card. As a result, it should be reliable. It is also informative if problems are detected.

Compact Flash cards in binary multiples from 1MB to 2TB should be correctly identified and described. So 1MB, 2MB, 4MB, 8MB, 16MB, 32MB, 64MB should be correct, but a 48MB card will likely be reported as 32MB. It was much easier to deal with just the binary multiples than all possible sizes, so I took the easy way out. My bad!


Older versions

Recommended for RC2014 and LiNC80 systems
Requirements:
Small Computer Monitor (SCM) v1.0 or later
Z80 or Z180 processor
Compact flash card at address 0x10
SCM_CF_Info_Z80_CFx10_code8000.hex
Version 1.0 (2022-03-02)
Recommended for Z50Bus systems
Requirements:
Small Computer Monitor (SCM) v1.0 or later
Z80 or Z180 processor
Compact flash card at address 0x90
SCM_CF_Info_Z80_CFx90_code8000.hex
Version 1.0 (2022-03-02)
Source code
SCM_CF_Info.asm
Version 1.0 (2022-03-02)

Below is an example of the terminal output when loading and running the App with a 128MB CF card.

Small Computer Monitor - RC2014
*         <<< send hex file here >>>
*Ready
*
*g8000
Compact flash card information v1.1 by Stephen C Cousins

Card at address $10:
Number of sectors on card: $0003E000
Card size: 128MB

Card model:       "SAMSUNG CF/ATA                          "
Serial number:    "                    "
Firmware version: "S1.18.4 "

Default number of cylinders:  $01F0
Default number of heads:      $0010
Default sectors per track:    $0020

Card's self diagnostic test passed
*

Below is an example of the terminal output when loading and running the App with a 16MB CF card.

Small Computer Monitor - RC2014
*         <<< send hex file here >>>
*Ready
*
*g8000
Compact flash card information v1.1 by Stephen C Cousins

Card at address $10:
Number of sectors on card: $00007A80
Card size: 16MB

Card model:       "SanDisk SDCFB-16                        "
Serial number:    "    0139011I03P29553"
Firmware version: "Vdg 1.23"

Default number of cylinders:  $01EA
Default number of heads:      $0002
Default sectors per track:    $0020

Card's self diagnostic test passed
*

Homebrew 8-bit retro computing