Login
Back to forumReply to this topicGo to last reply

Posted By

Mad
on 2023-10-28
13:38:17
 Whirlybirds Sources (by Puls4r)

For people who may be interessted on how to code a doom clone on plus/4..

https://github.com/kosmonautdnb/Whirlybirds

Posted By

Csabo
on 2023-10-28
13:49:20
 Re: Whirlybirds Sources (by Puls4r)

I briefly looked at the code... All I can say is "wow". This is just about the peak of what can be done on this little machine happy Thank you so much for releasing it!

Posted By

Mad
on 2023-10-28
14:06:58
 Re: Whirlybirds Sources (by Puls4r)

Thanks Csabo, this version is "sadly" with a "pixel shader" (in the sources).. I found no way to use github normally, yet. https://puls4r.de/downloads/whirlybirds_plus4_shader2.prg

edit: Updated repository with additional sources without that shader..

Posted By

javierglez
on 2023-10-31
08:20:27
 Re: Whirlybirds Sources (by Puls4r)

Could this be a good candidate to a Mega65 port if the code works right out the box and it's just a matter of new graphics?

Posted By

Litwr
on 2023-11-01
03:13:17
 Re: Whirlybirds Sources (by Puls4r)

https://www.youtube.com/watch?v=ZCCKbtm1JVE - this is the best Doom for the 8-bit machines. It is the result of the great efforts but it is rather pathetic... And the Speccy is faster than the +4...

Posted By

gerliczer
on 2023-11-01
08:52:45
 Re: Whirlybirds Sources (by Puls4r)

/OFF

@Litwr wrote: this is the best Doom for the 8-bit machines.
What other programs are the competition if any? Do we surely know that those are all the others and there are no more anywhere else? What are the metrics this statement is based on? What counts as an 8-bit machine?

/ON

Posted By

MMS
on 2023-11-02
15:37:07
 Re: Whirlybirds Sources (by Puls4r)

Hats off to the technical achievement, this is something I could not think possible.

On the other hand we should be realistic. Even Amigas could not run a proper Doom clone with the right speed, and it was one of the causes the Amiga (even the A1200) started to fail to satisfy the (3D) gamers.

Posted By

gerliczer
on 2023-11-02
15:20:35
 Re: Whirlybirds Sources (by Puls4r)

Citadel? Or nowadays Dread/Grind?

Posted By

MMS
on 2023-11-02
16:35:16
 Re: Whirlybirds Sources (by Puls4r)

OFF
Citadel is more a Wolfstein 3D clone, not a Doom clone. still I feel it is a little slow.
Too bad, the Amiga did not have the fast 320x200 1 byte deep chunky video mode, just the much slower planar graphics.

QUOTE
"A chunky mode was a necessity in 1994 or even 1993, because the Amiga's bitplane system would require as many as eight separate operations in screen memory to write to eight bitplanes, to change ONE pixel, which would (and did) slow down Amiga graphics to one-eighth of the speed of a 1-bitplane mode. Faster processors and direct writing (bypassing the Blitter) can yield some good results, but the fast speed was needed on the standard "stock" Amiga A1200, and it was already underpowered compared to 386 and 486 PCs as it was, and that's even before the separate bitplane writes I mentioned before.

I've programmed on PC in chunky modes, and it really is very neat and easy and simple how each pixel can be plotted with 1 out of 256 colours with just one byte written to memory - no wonder programmers switched to PC as soon as they could."
UNQUOTE

This is the processing power an A600 require to able to run the Doom at proper speed. Vampire2 board with direct RAM access runs 9x (!) faster than an 50MHz 68030 CPU, do not to mention the original 68000.
https://www.youtube.com/watch?v=eM-bwuBJ644

Attribute gfx makes it even harder... So you need much more CPU processing power, but we do not have.

OFF OFF:
You know I mentioned several times the CPU upgrade, but seems it is not possible, or not a preferred idea by the scene.
When CPU gets the full clock from TED, it does not reach the screen, like on border. It could be any clock speed, like a much higher clock speed for WDC 65C02 CPU, even 14MHz. Switching the CPU to 1.76MHz from the TED frequency and back does not make any harm to the screen, why a 4MHz would do?

The main issue is the RAM/ROM access by the CPU. It simply cannot be faster in this way, the fast CPU would have been just waiting for the proper time to write and read.
The SAM Coupe had a 6MHz Z80 CPU, but due to the shared and slow memory access, it was just slightly faster than a 3.5MHz ZX Spectrum.

The 512k SRAM used in Lotherek 6502P4 could be great as it has no wait stages or speed constraints when CPU manipulates it, unfortunately all the ROM access has the same problem, not to mention the external IC's answering time.

The ROM problem could be easily solved, the solution is there in every PC we use. The Shadow BIOS ROM is a BIOS copied from the ROM into the much faster RAM, and the PC uses it instead of the slow (EP)ROM, makes the PC significantly faster. So the 512KB SRAM in Lotharek extension could me modified to use the lower half 256KB as a Hannes compatible RAM, the upper 256KB (or just the 64KB from it) can be used for ROM content fast access (Kernal, BASIC, 3+1) etc copied at startup from ROM to SRAM, and when bank switching happens, just add to the calls the +256KB address and you get the ROM.

I suppose even the BASIC would run significantly faster from SRAM, but maybe just had some crazy ideas :-)

The ICs (6551 and such) cannot be speeded up, I suppose, but the main issue is the +4 ROM and RAM access speed are not up to the higher CPU requirements.

ON ON

Posted By

Litwr
on 2023-11-03
11:32:30
 Re: Whirlybirds Sources (by Puls4r)

I agree that Wolfenstein 3D is a more real goal. IMHO the easiest way is to port https://www.youtube.com/watch?v=cWISvZoRo3U. But ppl got really good results only on the overclocked Speccy at 28 MHz.
BTW the Amiga planar graphics is actually too slow. Why didn't they allow us to write to several planes at once like it was implemented on the EGA or even a cheap Soviet Corvette school computer?!

EDIT. Wolfenstein 3D for the Speccy was made during 8 years and the total size of files of this project was about 300 MB!

Posted By

MMS
on 2023-11-03
15:02:04
 Re: Whirlybirds Sources (by Puls4r)

@Litwr: really a very nice game! so 28 Mhz can do this? I remember my old 286/16 Mhz ran it faster.
Chunky VGA rulez!
BTW I think the music took too much CPU power, full of digitized samples.

"meduim PC" at the beginning, LOL happy

I dunno why it became a double post, sorry.

Posted By

MMS
on 2023-11-03
15:01:25
 Re: Whirlybirds Sources (by Puls4r)

@Litwr: really a very nice game! so 28 Mhz can do this? I remember my old 286/16 Mhz ran it faster.
Chunky VGA rulez!
BTW I think the music took too much CPU power, full of digitized samples.

"meduim PC" at the beginning, LOL happy

Posted By

Litwr
on 2023-11-06
13:19:37
 Re: Whirlybirds Sources (by Puls4r)

https://www.youtube.com/watch?v=jVFn_djQ6EY happy

Posted By

MMS
on 2023-11-06
14:00:08
 Re: Whirlybirds Sources (by Puls4r)

I get the point. But Coco3 had 6809 CPU and higher clock sdeed, not to mention is started with 128KB RAM and could be expanded officially to 512KB



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024