|
Post by wildside on Jun 1, 2006 3:34:59 GMT -5
Ok...
Anyone have any ideas on how I can get the CML software onto tape?
I know what you are thinking... but disks are becoming hard to come by and I've lasted this long without a "real" disk drive. (I've been using 64hdd for some stuff)
I started by patching BOOT line 300 to read "CML" from tape... but I can't seem to get CML copied to tape.
Could someone explain the client files to me and how/when they are loaded?
~Blair The Tape Junkie!
|
|
|
Post by wildside on Jun 1, 2006 4:37:08 GMT -5
Ok... so I've not looked at BASIC for over 15 years.... ;D I've patched BOOT and saved to Tape. I've added CML.ML and LOGO to Tape. and used Copy 235 to Copy CML to Tape. It seems to work within VICE and now I've just gotta transfer my TAP to Tape. Boy do I feel like an idiot. That was easy. But my last question still remains... What are these files doing?  CML.ML and LOGO? And can I assume that CML is fully self contained once loaded? and were do the COM rutines reside? (I've seen posts that would suggest they are in CML.ML) The Less Confussed... but still Tape mad... ~Blair
|
|
|
Post by Jeff Ledger on Jun 1, 2006 9:08:18 GMT -5
Here's the breakdown on the CML files...
The LOGO file is just that... It's the color swirling logo on the inital startup screen. Fluff and nothing more. It is loaded in the BOOT section and could easily be removed as it is in uncompiled basic. The ML file is used for modem routines, and is required.
If you guys will email me a copy of the converted image, I'll post it for general consumption.
Jeff
|
|
|
Post by wildside on Jun 6, 2006 9:04:48 GMT -5
Ok... someone slap me for being stupid right now... but how does one see/edit the basic code for CML.PRG? I only get "BLITZ!!!!!!"  I know I used to do things like this on purpose 15+ years ago... but I'm at a loss how now. or most importantly how to fix it so I can edit the prg. I'm hoping to merge cml.prg and boot.prg into on file that call cml.ml. This way I can "turbotape" everything nicely and load it in a flash. ~Blair
|
|
|
Post by Golan Klinger on Jun 6, 2006 10:16:13 GMT -5
Ok... someone slap me for being stupid right now... but how does one see/edit the basic code for CML.PRG? I only get "BLITZ!!!!!!"  That means the file was compiled with Blitz. I hope Jeff doesn't mind that I took the liberty of decompiling it for you. You can download the program in BASIC here: www.vex.net/~falco/petscii/cml.prg.
|
|
|
Post by Jeff Ledger on Jun 6, 2006 14:41:36 GMT -5
Don't mind at all! If you can read my code..  The only thing I ask is that we keep the standards the same if you make changes. I don't want to have multiple standards out there due to modified programs. If something is glaringly wrong, please post the recommended change here so that we can keep everyone on the same page. Jeff
|
|
|
Post by wildside on Jun 7, 2006 7:29:38 GMT -5
Your code was most readable. But after a number of attemps to turbo-ize CML on Tape.... I'm settling on a non-turbo version until I find an easy way to wrapper a true Turboloader into the existing code you distribute. I didn't like the idea of major rewrites of your well stable code just to save <1 min of load time. And since it only takes about 3 mins to patch and convert the stock CML Disk to Tape...  Now... you wanted a copy... is there an upload option on this forum that I'm not seeing? ~Blair
|
|