git config core.eol crlf
git config core.autocrlf input
This project is setup to be run in a Visual Studio Code Dev Container. If you prefer, you can manually rum the docker container.
docker run --rm -v ${PWD}:/src -w /src -it rprouse/asm-dev
Compile a single file at the command line,
sjasmplus lcdtest.asm --lst --color=on --inc=./include --raw=lcdtest.com
Compile a single file at the command line,
rasm lcdtest.asm -ob lcdtest.com
Before you use cpmcbfs
, you must install the driver. At an admin command prompt,
run the following, then reboot.
.\cpmbfs.exe --install
There are two caveats to be aware of if you are operating on a CF card directly:
- You must run your command prompt as administrator.
- You need to find out which disk you will be using. You can find out by doing any of the following:
- Go into the computer management console, then Storage->Disk Management. Note the number of your disk.
- In your administrator prompt, run "diskpart", then at the dispkart prompt, type: "list disks". Note the number of your disk.
Once you get your information, then you specify the image as "\.\PhysicalDrive(X)" where (X) is your disk
Mount the Compact Flash as the Z drive. In an admin command prompt from the bin
directory, run the following adjusting the last letter of rc2014x for the drive;
.\cpmcbfs.exe -f rc2014h -i \\.\PhysicalDrive3
To copy the content of the compact flash card to a file,
dd if=\\.\PhysicalDrive3 of=RC21014.img
The image consists of a concatenation of 15 8Mb disk images (A: through O:) and one 2Mb disk image. I used dd to extract the individual images, e.g. for drive C
dd if=RC2014.img of=disk_C bs=1M skip=16 count=8