Toon app: Doom4toon.

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Post Reply
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Toon app: Doom4toon.

Post by marcelr »

Just finished a small fun project. A few months ago, anandus of the tweakers forum asked if playing Doom on Toon were possible.
( https://gathering.tweakers.net/forum/li ... 9#52169739 )

Just for fun, I did some digging into code for doom, and to cut a long story short, yes, it can be done.
The result is shown in this video:
http://files.domoticaforum.eu/uploads/T ... m4toon.avi
It shows just the demo mode, can't play and record video simultaneously, haven't got enough hands for that. The whole exercise has taught me quite a lot on the inner workings of the frame buffer code, and the underlying stack. You never know what it's useful for in the future.

The port required a revised linux kernel for toon (with USB keyboard/mouse support), a port of libSDL for framebuffer devices, libSDL_mixer (for sound that's not really working), and libSDL_net (for multiplayer games, one toon against another :-) ).
The doom version of choice was chocolate-doom, version 2.3.0. This is a doom version written in C, with SDL graphics, and a fairly small footprint.
To get everything going, the doom code required a fair amount of patching, to fill some gaps left by the toon port of SDL. I just picked up a .wad file from the internet, somewhere, to get the scenery working.

All quby code was switched off (not removed; two small edits are enough to stop your thermostat from being a thermostat). As a side product, this left a whopping 110MB of free RAM. In normal mode, toon has less than 15 MB free when it's up and running, WITHOUT any of the apps from this forum.

Is it any good? I played this game against one of my colleagues, during lunch breaks, back in 1997, with two 486's against each other with a null modem cable in between. Performance then was good, as far as I can remember. The ARM 926EJS of toon has more computational power than a 486, so yes, performance is not an issue. The screen is a bit small, though.

I played the game all the way to the end, back then, won't do it again :-).
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Doom4toon.

Post by Toonz »

Haha, back to the future..... Great stuff!!!!!!
member of the Toon Software Collective
ams123
Member
Member
Posts: 73
Joined: Thu Aug 31, 2017 5:27 pm
Location: Amersfoort

Re: Toon app: Doom4toon.

Post by ams123 »

great nice work
Toon solarpannels
fkruis
Starting Member
Starting Member
Posts: 20
Joined: Sun May 01, 2016 7:44 pm

Re: Toon app: Doom4toon.

Post by fkruis »

:)
Sjoek
Starting Member
Starting Member
Posts: 4
Joined: Sun Dec 31, 2017 7:51 pm
Location: Soesterberg

Re: Toon app: Doom4toon.

Post by Sjoek »

Great, that's some old school game!
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: Doom4toon.

Post by marcelr »

Old school game for not-so-very-bleeding-edge hardware :-)
Sjoek
Starting Member
Starting Member
Posts: 4
Joined: Sun Dec 31, 2017 7:51 pm
Location: Soesterberg

Re: Toon app: Doom4toon.

Post by Sjoek »

indeed marcelr,

I think i was running it on my 486 dx2 33mhz, with a whopping 16mb of memory :lol: :lol:
In the days that was a lot of computing power :D
Post Reply

Return to “Toon Apps”