Previous Thread
Next Thread
Print Thread
Page 46 of 46 1 2 44 45 46
#113159 - 04/18/18 09:29 PM Re: Requirements? [Re: rfka01]  
Joined: Jan 2016
Posts: 28
bsdimp Offline
Member
bsdimp  Offline
Member

Joined: Jan 2016
Posts: 28
BTW, I've updated my Venix github thing with (a) a copy of all the VENIX manuals from bitkeeper's (thanks for the pointer). They cover both PRO and Rainbow version of VENIX! And they cover the missing system calls I'd worried about. and (b) I've started a write up for how to install on MAME.... It's still super incomplete. I need to rebuild MAME with the fixes to the boot roms, at the very least since it's not (yet) working...

#113160 - 04/19/18 01:34 AM Re: Requirements? [Re: Bavarese]  
Joined: Jan 2016
Posts: 28
bsdimp Offline
Member
bsdimp  Offline
Member

Joined: Jan 2016
Posts: 28
The latest git repo mame just built for me. And Venix boots for me now. Woot! However, shortly after it hangs while running fcheck... sometimes with Interrupts off message, other times it just hangs....

I've uploaded the image https://people.freebsd.org/~imp/venix-rd32.chd.xz if anybody wants to look at it.

mame64 rainbow -flop1 ~/mame/rb/flp/vbwsx1.img -hard1 ./venix-rd32.chd -nothrottle -frameskip 10

(both with and without the last args). Looking at the programs, they look good, as far as I can tell....

It seems like it's missing an interrupt, since the program hangs, and I can't ^C out of it, which is typical for a process in 'disk wait' and we'll never exit disk wait if we don't get an interrupt. Plus there's interrupt enable/disable issues. I'll have to find some time to look into that if someone doesn't beat me to it.

Last edited by bsdimp; 04/19/18 05:17 AM.
#113161 - 04/19/18 12:41 PM Re: Requirements? [Re: rfka01]  
Joined: Apr 2012
Posts: 179
Bavarese Offline
Senior Member
Bavarese  Offline
Senior Member

Joined: Apr 2012
Posts: 179
Germany
I 'copied a new boot loader' onto the CHD you uploaded - and the system started when i pressed 'W' in the Rainbow boot menu.

After that, things get odd. Observations:

- WUTIL 3.2 doesn't recognize the partition structure / and or identifier. It just shows GAP (for 'empty space').
Can't tell if Wutil was ever tested with BSW.

- MS-DOS 3.1 recognizes 'non MS-DOS partitions on the hard disk' at startup.

Sure the hard disk image has been correctly initialized?


A general problem is that older (DEC) tools are hard coded for 4 heads and a limited set of OEM hard disks, while newer tools rely on badly documented hd.structures (HOM, BOM, DPD, whatever).

I observed earlier that Wutil did not fill in the number of heads value when it should. It put in 0x00 and a divide by zero resulted - when later code tried to determine the cylinder #.


[Analysis of the Fschk crash] - - LOG

A quick look into 'error.log' reveals the last read is from sector number #15.

Sector numbers 1 to 12, then 10, 15, 15 are read (last one twice -> retry...?)

Code tries to write, but doesn't complete all of the necessary steps (set head, drive, sector in WD2010 controller) before 'fschk' runs into the woods.
The write isn't actually done.

I tested my hard disk code routines (hdc_write_sector, do_write() ) mainly on MS-DOS 3.x, so there can be access patterns i haven't covered (or race conditions).

'Interrupts off' (flickering in emulator) usually occurs after IRET (return from interrupt), when the stack is messed up.

You may turn on logging when you set 'log' to 1 in 'mess.ini'.

The ini file can be rebuilt with
>mess -showconfig > mess.ini

---- [EDIT]
@Bsdimp: what is the purpose of 'fcheck'?

@R.Belmont: may i ask if there is any news on the rewrite of WD2010...? smile

Last edited by Bavarese; 04/19/18 04:57 PM.
#113173 - 04/21/18 02:31 AM Re: Requirements? [Re: rfka01]  
Joined: Jan 2016
Posts: 28
bsdimp Offline
Member
bsdimp  Offline
Member

Joined: Jan 2016
Posts: 28
fcheck checks the filesystem to make sure that it's still self-consistent... It should just be reading all the meta-data from the filesystem, but not the data blocks...

Page 46 of 46 1 2 44 45 46

Who's Online Now
1 registered members (1 invisible), 11 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,544
Posts111,686
Members4,795
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.055s Queries: 16 (0.022s) Memory: 4.9663 MB (Peak: 5.1474 MB) Zlib enabled. Server Time: 2018-06-24 05:01:14 UTC