8008guy
Veteran Member
Cool! Will grab it and test it out tomorrow.
Len
Len
Ok, I'm working through the process and am on the system. The transient apps don't include getsys, putsys, movcpm, and sysgen. Grant did provide a version of putsys that is used before cpm is up and running. I assume that I can assemble that to a com file. I assume that getsys is the "reverse" of putsys and can be created from the template in the 2.2 manual.
Are movcpm and sysgen system independant and rely on get/putsys? Where do I find those binaries, or asm files?
len
len
I think the PUTSYS method is just how Grant did modifications to the CP/M install. I'm not sure if you are using all of his code, but his monitor ROM code will automatically download (load into memory) any HEX files that are pasted to the console serial port. Assuming you have some sort of terminal emulator window open on the main serial port, and you see the '>' monitor prompt, you should be able to just paste the HEX files into that window one by one. How you get each one into your clipboard will depend on what OS you are running on your host computer. So, I think the procedure is (order is significant!):
1) start Z80 and get monitor prompt ">"
2) copy CPM22.HEX to the clipboard, paste into Z80 terminal window
3) copy CBIOSxxx.HEX to the clipboard, paste into Z80 terminal window
4) copy PUTSYS.HEX to the clipboard, paste into Z80 terminal window
5) enter monitor command "G5000" to run PUTSYS
Hopefully, someone familiar with Grant's code can confirm this.
I will still need to modify the input buffer for the ccp, right?
Tonight I tried running movcpm, I got a copy from the ver 2.2 cpm of the z80pack, and it hung. I used ddt to remove the serialization checks, no luck either.
I did email Grant to see if he can help with the utilities.
Len
Ok, got you. I'll play around with this a bit now that I better understand what is happening.
Thanks
Len
Why can’t you just upload your modified cbios.hex file as detailed in step 2 of PUTSYS of Grant’s procdure at http://searle.hostei.com/grant/cpm/index.html#InstallingCPM ?
Mike
AUTO [command]
A>auto dir
AUTO - set command in CCP
Updated CCP command to "DIR"
A: ASM COM : COPY COM : DDT COM : DUMP COM
A: ED COM : CCP COM : LOAD COM : PIP COM
A: STAT COM : SUBMIT COM : XKILL COM : XSUB COM
A: CPMLDR COM : RESET ASM : CPM3 SYS : RESET PRN
A: RESET HEX : RESET REL : RESET SYM : RESET COM
A: TERMXT ASM : EDIT COM : TERMXT PRN : TERMXT HEX
A: TERMXT SYM : DOWNLOAD COM : AUTO COM : DOWNLOAD HEX
A: PRN : HEX
A>stat
A: R/W, Space: 7980k
A>asm
CP/M ASSEMBLER - v2.01
NO SOURCE FILE PRESENT
A: ASM COM : COPY COM : DDT COM : DUMP COM
A: ED COM : CCP COM : LOAD COM : PIP COM
A: STAT COM : SUBMIT COM : XKILL COM : XSUB COM
A: CPMLDR COM : RESET ASM : CPM3 SYS : RESET PRN
A: RESET HEX : RESET REL : RESET SYM : RESET COM
A: TERMXT ASM : EDIT COM : TERMXT PRN : TERMXT HEX
A: TERMXT SYM : DOWNLOAD COM : AUTO COM : DOWNLOAD HEX
A: PRN : HEX
A>auto
AUTO - set command in CCP
Updated CCP command to ""
A>asm
CP/M ASSEMBLER - v2.01
NO SOURCE FILE PRESENT
A>
Here is a new version of an AUTO.COM program to stuff a command into the CCP on the CF card of a system based on Grant Searle's CP/M. I tested this on a simulation I have for another project, but it is also based on Grant's code. This system does not have the "CCP warm start" patch, so I was able to see the behavior in that case.
This command works like that one in the URL, but I wrote this one from scratch so I don't expect it to be bug-for-bug compatible. The basic syntax is the same:
ld a,seldsk
call bios
or a,a
jp nz,error
ld a,seldsk
call bios
ld a,l
or h
jp z,error