[Coco] Having fun with hacking HDB-DOS

Juan Castro jccyc1965 at gmail.com
Sun Apr 13 22:56:36 EDT 2014


Finally got back to this hack. I now have a ROM with
software-selectable DriveWire routines. To reiterate, this is for CoCo
1 and 2 only.

EXEC &HE002 selects 38400bps (CoCo 1)
EXEC &HE005 selects 57600bps (CoCo 2) -- this is the default at boot
EXEC &HE008 selects the Becker port

Next steps: including more options (IDE!!!) and devising a friendly
syntax for the selection. Then, find a way to select the disk routine
per drive. Ideally, you should be able to plug a SuperIDE, a floppy
controller, and a PC by RS232, and copy things willy-nilly amongst all
three.

The ROM:
https://dl.dropboxusercontent.com/u/15643089/16k-hdbdw3cc2.rom

The patch against the Toolshed repo:
https://dl.dropboxusercontent.com/u/15643089/hdbdos-16krom.patch

Anyone wanna test?

Juan

On Fri, Feb 14, 2014 at 9:34 AM, Juan Castro <jccyc1965 at gmail.com> wrote:
> Excellent idea. One thing I'm thinking is having both IDE and DW (38400 and
> 57600) in the same ROM, switchable in a per drive basis.
>
> Em 14/02/2014 03:11, "William Astle" <lost at l-w.ca> escreveu:
>
>> Actually you can hook the printer output using one of the ram hooks so it
>> should be easy even without having the roms copied to ram. The console out
>> hook is the relevant one I believe. Disk basic already hooks it so you
>> should be able to modify that routine.
>>
>> -------- Original message --------
>> From: Bill Pierce <ooogalapasooo at aol.com>
>> Date: 02-13-2014  9:51 PM  (GMT-07:00)
>> To: coco at maltedmedia.com
>> Subject: Re: [Coco] Having fun with hacking HDB-DOS
>>
>>
>> Good work Juan, sounds like you're having fun.
>> How about adding some DW4 commands?
>> Redirect PRINT#-2 to the DW4 file printer. It shouldn't be a hard command
>> to patch into and the DW4 routines to pass the data are already present in
>> the hdbdosdw versions. It might be tricky (or improbable) on a Coco 1 or 2
>> as you may have to move rom to ram, but on a Coco 3 this is already done and
>> patching the CB & ECB roms is easy.
>>
>>
>> Bill Pierce
>> "Today is a good day... I woke up" - Ritchie Havens
>>
>>
>> My Music from the Tandy/Radio Shack Color Computer 2 & 3
>> https://sites.google.com/site/dabarnstudio/
>> Co-Webmaster of The TRS-80 Color Computer Archive
>> http://www.colorcomputerarchive.com/
>> Co-Contributor, Co-Editor for CocoPedia
>> http://www.cocopedia.com/wiki/index.php/Main_Page
>> E-Mail: ooogalapasooo at aol.com
>>
>>
>>
>>
>> -----Original Message-----
>> From: Juan Castro <jccyc1965 at gmail.com>
>> To: Lista CoCo <coco3 at googlegroups.com>; CoCo List <coco at maltedmedia.com>
>> Sent: Thu, Feb 13, 2014 10:53 pm
>> Subject: [Coco] Having fun with hacking HDB-DOS
>>
>>
>> Now the WIDTH command works and drops you in the PMODE 4 screen if the
>> argument is 51 or 64. WIDTH 32 takes you back to text mode. Also, all
>> CoCo 3 tokens are recognized. But, of course, all but WIDTH will give
>> you an error.
>>
>> Next up: LOCATE. Then... BUTTON? ERR/ERNO/ERLIN?
>>
>> ROMs: https://dl.dropboxusercontent.com/u/15643089/16kroms.zip
>> Source patch:
>> https://dl.dropboxusercontent.com/u/15643089/hdbdos-16krom.patch
>>
>> Juan
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>>
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco



More information about the Coco mailing list