[Coco] wdir command? A FIX

camillus gmail camillus.b.58 at gmail.com
Fri Feb 5 04:49:21 EST 2016


Hi Bill,

I would love to try your new shell program, but I need to learn how to make a working dsk or vhd file from the latest download NITROS9.
Any suggestions where I can find a step by step guide to compile the whole package?

Thanx
CB
On 2/4/2016 9:59:14 PM, Bill Pierce via Coco <coco at maltedmedia.com> wrote:
I have posted both the Basic09 and C sources in my Dropbox folder if anyone needs them. To be honest, I don't remember who started this thread... but here's the working code.

https://dl.dropboxusercontent.com/u/23059963/Stuff/WDir.zip

The Basic09 version must be loaded into Basic09 and packed, then run from the cmd line. It's best to have runb gfx2, & syscall merged and loaded into memeory. Wdir will not run from within Basic09 because it requires too much memory. It must be run externally.

The C version can be compile with the OS9 C compile as is.
cc1 -o=wdir /dd/lib/cstart.r wdir.c 0l=/dd/lib/clib.l (I think)






Bill Pierce
"Charlie stole the handle, and the train it won't stop going, no way to slow down!" - Ian Anderson - Jethro Tull



My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
Global Moderator for TRS-80/Tandy Color Computer Forums
http://www.tandycoco.com/forum/

E-Mail: ooogalapasooo at aol.com






-----Original Message-----
From: Robert Gault
To: CoCoList for Color Computer Enthusiasts
Sent: Thu, Feb 4, 2016 9:45 pm
Subject: Re: [Coco] wdir command? A FIX

Bill Pierce via Coco wrote:> I now have the wdir C code working as well :-)> This give me just the syscalls needed in another program I am working on.>Glad it helps. The root of the problem was in os9.d********************** Device Table Format* ORG 0V$DRIV RMB 2 Device Driver moduleV$STAT RMB 2 Device Driver Static storageV$DESC RMB 2 Device Descriptor moduleV$FMGR RMB 2 File Manager moduleV$USRS RMB 1 use count IFGT Level-1V$DRIVEX RMB 2 Device Driver execution addressV$FMGREX RMB 2 File Manager execution address ENDCDEVSIZ EQU .The entries in DevTable in wdir missed the last two entries above from LevelII. Keep in mind that Kevin's program does work with the original OS-9 LII so the above table LevelII entries must have been added by NitrOS-9.Robert-- Coco mailing listCoco at maltedmedia.comhttps://pairlist5.pair.net/mailman/listinfo/coco

--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


More information about the Coco mailing list