Page 10 of 26

Re: Phil C's Raven build

Posted: 05 Jun 2025 10:04
by PhilC
@mrbombermillzy I'll have a go with that later on. I've not tried joystick in the Raven yet though :lol:

@agranlund Cool, thankyou, I'll see what happens and will report back :D

Re: Phil C's Raven build

Posted: 05 Jun 2025 10:24
by PhilC
@mrbombermillzy I tried it and I just get a busy mouse pointer as below, not crashed though as the mouse still moves
PXL_20250605_092119929.MP.jpg
@agranlund I do get a bit of a speed up with blitting 114% compared to normal but the screen is a bit messed up :lol:
PXL_20250605_092026872.jpg
Not sure if that means my card doesn't do interleaving either?

Re: Phil C's Raven build

Posted: 05 Jun 2025 10:51
by agranlund
PhilC wrote: 05 Jun 2025 10:24 Not sure if that means my card doesn't do interleaving either?
Or I didn't understand properly what needs to be done :)

Your screen actually looks kind of normal, but with lots of corruptions added in.
At least compared to my 1MB card which very much indicates memory is not read/written from the correct places properly (I get a double image effect).

I attached the tiny sourcecode in case someone wants to play.
Toss it in sw/tools/ and it should cross compile with the makefile, or on Raven with the PureC project file.
(look at sw/purec/readme.txt for compiler setup)

Page 126 and onward in the databook contains interleaving info:
https://old.vgamuseum.info/images/stori ... 00w32i.pdf

Re: Phil C's Raven build

Posted: 05 Jun 2025 11:08
by PhilC
@agranlund Cool, thanks very much.

Re: Phil C's Raven build

Posted: 05 Jun 2025 11:46
by agranlund
Ah, and there's also this bit of information from the Excelgraph thread on Vogons:
I'd effectively be redoing the layout of most of the card and layout from scratch, and I'm thinking of using two 1MB chips (reducing chip count by two), but 5v 1MB DRAMs seem hard to find. 256 x 16 chips seem much more common and easy to find (leaving the chip count the same).
To make use of one of the key features of the ET4000/W32i for high resolutions, the memory bank interleaving that is reflected in the "i" suffix, it is important to have two banks of 32 bits each, so your 1-megabyte DRAM chips would need to be 256K x 32.
Two 512Kx16 chips will not allow interleaving - if they are supported at all. I can find 256K x 16 5V chips a dime a dozen, and if I am really desperate to get some, I will buy a "for parts only" untested very early PCI graphics cards on ebay (be careful to not get EDO, see below), which usually contains 2 to 8 of these chips. On the other hand, I have no idea whether I have a single 5V FPM 256K x 32 at all.

For bank interleaving on the ET4000/W32i, it is of utmost importance to not use EDO, but FPM only, because the bank interleaving requires that the "inactive" bank stops sending data as soon as the /CAS signal gets de-asserted, otherwise, both banks will conflict. The key point of EDO is that it allows to pipeline two stages of RAM reading inside the RAM chip, allowing similar performance with a single bank to what the W32i achieves using two banks. As EDO RAM was not common when the ET4000/W32i was designed, Tseng used bank interleaving an incompatible way to achieve the same result - they pipeline the memory access by interleaving data transfer between two different chips. So this adds another constraint to your search: You would need 256K x 32, 5V, FPM RAM. While there definitely are x32 RAM chips, I tend to see them only at 3.3V, and with an EDO or SDRAM interface. That's technology that is way newer than the ET4000/W32i.

Re: Phil C's Raven build

Posted: 05 Jun 2025 11:49
by PhilC
@agranlund Ok, my ram is 256x16, so that explains why it won't work then. Wasworth a try though (but I may still have a try anyway :D)

Re: Phil C's Raven build

Posted: 05 Jun 2025 15:07
by mrbombermillzy
PhilC wrote: 05 Jun 2025 10:04 @mrbombermillzy I'll have a go with that later on. I've not tried joystick in the Raven yet though :lol:
I think I put keyboard arrow key support in there too. :)

PhilC wrote: 05 Jun 2025 10:24 @mrbombermillzy I tried it and I just get a busy mouse pointer as below, not crashed though as the mouse still moves
Sorry Phil.

I should have given you the later non hardwired screen address version.

Re: Phil C's Raven build

Posted: 05 Jun 2025 16:23
by PhilC
mrbombermillzy wrote: 05 Jun 2025 15:07
PhilC wrote: 05 Jun 2025 10:04 @mrbombermillzy I'll have a go with that later on. I've not tried joystick in the Raven yet though :lol:
I think I put keyboard arrow key support in there too. :)

PhilC wrote: 05 Jun 2025 10:24 @mrbombermillzy I tried it and I just get a busy mouse pointer as below, not crashed though as the mouse still moves
Sorry Phil.

I should have given you the later non hardwired screen address version.
Unfortunately that one didn't work either, this time I get the hourglass and then it stops responding and I have to reset.

Re: Phil C's Raven build

Posted: 05 Jun 2025 16:35
by mrbombermillzy
Actually Phil, bit of a glaring oversight (on my part), but unless the Raven has a blitter it wont work. Sorry. :(

I can maybe code a non-blitter version at some point and send it over to you.

Re: Phil C's Raven build

Posted: 05 Jun 2025 16:48
by PhilC
mrbombermillzy wrote: 05 Jun 2025 16:35 Actually Phil, bit of a glaring oversight (on my part), but unless the Raven has a blitter it wont work. Sorry. :(

I can maybe code a non-blitter version at some point and send it over to you.
The Raven doesn't have an ST blitter but the Nova drivers do make use of the blitter in the W32i but I guess you are coding for the ST blitter directly?