Search found 1965 matches

by Eero Tamminen
Sun Mar 17, 2013 1:55 pm
Forum: Hardware
Topic: ST vs Mac : advantages/disadvantages
Replies: 155
Views: 36652

Re: ST vs Mac : advantages/disadvantages

Tell me again how TT030 missing features lower end machines have is a good thing. These (joysticks, blitter) were gaming features. But the main reason why games didn't work on TT wasn't lack of blitter or STe joysticks, but the CPU being faster. Most games done for slow 8Mhz machines are so timing ...
by Eero Tamminen
Fri Mar 15, 2013 10:39 am
Forum: C / PASCAL etc.
Topic: How to redirect stdout on Atari?
Replies: 14
Views: 4991

Re: How to redirect stdout on Atari?

I think I found a way to do redirecting so that it's safe (gets unredirected when needed). Code to do that is commited to Hatari repository.

Hatari will now also tell about how many file handles were left open / re-directed when program terminates normally (through Pterm*()).
by Eero Tamminen
Thu Mar 14, 2013 4:17 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

Btw. Douglas, will you release / open source your Bad mood DSP and CPU side code at some point?
by Eero Tamminen
Thu Mar 14, 2013 12:45 pm
Forum: C / PASCAL etc.
Topic: How to redirect stdout on Atari?
Replies: 14
Views: 4991

Re: How to redirect stdout on Atari?

I always close all opened files so that´s no problem. It´s a good workaround for me. Thanks Eero. :cheers: Note that even when using GEMDOS emulation (without the attached fforce.diff against Hatari Mercurial tip [1]), any files that reside on floppy or HD images can still be redirected as those ar...
by Eero Tamminen
Thu Mar 14, 2013 12:25 pm
Forum: C / PASCAL etc.
Topic: How to redirect stdout on Atari?
Replies: 14
Views: 4991

Re: How to redirect stdout on Atari?

I'll probably add just console warnings when trying to Fforce() GEMDOS emulated files and when files are left open at Pterm*(). I've commited that to Mercurial and added notes about this to GEMDOS emulation section in Hatari manual: http://hg.tuxfamily.org/mercurialroot/hatari/hatari/raw-file/tip/d...
by Eero Tamminen
Thu Mar 14, 2013 11:41 am
Forum: C / PASCAL etc.
Topic: How to redirect stdout on Atari?
Replies: 14
Views: 4991

Re: How to redirect stdout on Atari?

I'm looking whether these could be worked around for next Hatari version. That would be great :!: I've looked now into that and I don't think it's possible. There doesn't seem to be any reliable way to catch all the possible ways of program starting (GEMDOS pexec, AES shel_write etc) and terminatin...
by Eero Tamminen
Thu Mar 14, 2013 9:07 am
Forum: C / PASCAL etc.
Topic: How to redirect stdout on Atari?
Replies: 14
Views: 4991

Re: How to redirect stdout on Atari?

Yes thanks, you are right. I am using Hatari with GEMDOS hard disk. Now i know that it was not my fault that it doesn´t work - i spent several hours on this problem... When having problems with OS calls, it helps to check their return values. TOS should be returning "invalid handle" error...
by Eero Tamminen
Wed Mar 13, 2013 4:58 pm
Forum: Hardware
Topic: Atari 1040 STe with 68010: newdesk.inf boot problems
Replies: 118
Views: 17337

Re: Atari 1040 STe with 68010: newdesk.inf boot problems

Makes me think of one more question... Do we have somewhere a precise (and verified) doc on Atari ST(F/E)/Falcon boot sequence in order to know what we can trace and, in a second time, patch through an auto prg and what can't be done this way ? Something like : 1) initiate BIOS (XBios ? Gemdos ?) 2...
by Eero Tamminen
Tue Mar 12, 2013 12:04 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

I think it uses a fixed frequency TimerA/D and then there is some constant event timer based on this base frequency. It might be easy to modify it to work correctly - although the base frequency needs to be set high enough not to quantize the playback rate. (TimerA will be probably needed later for...
by Eero Tamminen
Mon Mar 11, 2013 10:55 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

Great stuff! This already improves chances of decent MIDI output quite a bit. :) There was another small bug in the code, it didn't copy PPQN (Pulses Per Quarter Note clock tick value) from the original file to new one. Attached version fixes this + outputs some more info about the MIDI file. When ...
by Eero Tamminen
Mon Mar 11, 2013 7:59 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

It's nice to see a new game being produced from the same tech. So many source ports but most of them just different views/extensions on Doom. Besides Strife, there were several other 90's games based on Doom engine: http://en.wikipedia.org/wiki/Doom_(video_game)#Clones Strife is kind of interesting...
by Eero Tamminen
Mon Mar 11, 2013 11:35 am
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

My MIDI format conversion script had a small bug, it didn't filter out EndOfTrackEvents, and first of the tracks output by QMUS had just of couple of meta events before it ended, and therefore the copied end-event terminated the single track playback before it had even started... Attached script, wh...
by Eero Tamminen
Sun Mar 10, 2013 9:58 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

I wrote few lines of code around this: https://raw.github.com/pichenettes/avril-firmware_tools/master/midi/midifile.py to convert multitrack MIDI file to a single track one. However, result of that didn't play with ALSA aplaymidi (which played original multitrack file fine), nor with BM midi player,...
by Eero Tamminen
Sun Mar 10, 2013 3:13 pm
Forum: Professionals
Topic: The RESET instruction on Falcons
Replies: 57
Views: 8939

Re: The RESET instruction on Falcons

On a totally unrelated topic: the exact same compile using latest (plain - no MiNT) EmuTOS on the Firebee takes 7 seconds . Makes it roughly 38 times faster than a stock Falcon... Are you using the latest EmuTOS CVS snapshot: http://sourceforge.net/projects/emutos/files/snapshots/CVS-20130309/ ? It...
by Eero Tamminen
Sun Mar 10, 2013 2:59 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

ftp://archives.gamers.org/pub/idgames/utils/sound_edit/ The first experiment should be to extract a MUS from WAD directly, convert it to MID with that tool and test it in the BM player. If that works ok, it's worth trying to put an equivalent pipeline in the BM resource cache. If not, it's probably...
by Eero Tamminen
Sat Mar 09, 2013 10:51 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

I did notice that it's not endian-clean so it won't work on the Falcon without hacking around with it and fixing all the fread/fwrite access, and whatever else might be broken. You probably know this already... Standard network netinet/in.h include file provides ntohl/ntohs/htonl/htons (h=host, n=n...
by Eero Tamminen
Sat Mar 09, 2013 10:41 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

Another version of the earlier CPU side graph. This is reduced one with costs propagated up to callers: hatari-profile.py -p --compact --no-leafs --no-intermediate -e 8.0 -l 4.0 -f 0 --ignore-to framecounter,ikbd_handler,get_dy,new_vbi,stabilizer_b -g bmsym.txt As unfortunately there's something not...
by Eero Tamminen
Sat Mar 09, 2013 8:30 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

...found source for MUS->MID conversion in C. That may allow conversion at runtime, by placing it between the WAD LUMP and the BM resource cache. That would probably be a win! If that converts MUS into a single track MIDI file, everything will hopefully work fine as-is. Does it map instruments to g...
by Eero Tamminen
Sat Mar 09, 2013 8:25 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

I wonder is there some tool to mix events from multiple MIDI tracks to a single track? Maybe by playing MIDI file and saving raw MIDI data to another MIDI file with "midid"? Unfortunately "midid" (DosEmu utility) doesn't work, it says often "bad data" when trying to re...
by Eero Tamminen
Sat Mar 09, 2013 7:21 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

Here's a test of BM403F'M' with MIDI enabled. The .MID file should be in the same directory as the TTP. An error message will appear on the TOS screen before starting, if it can't be found (but the engine will still go). I tried that on Linux and MIDI playback of the supplied MIDI file seems to wor...
by Eero Tamminen
Sat Mar 09, 2013 11:13 am
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

Doug, you want to say that you've got a MIDI replayer for the MIDI musics included in WAD files? If so, that would be frakking awesome, as the only solution right now I know about is to use SDL_audio + SDL_mixer +timidity patch and it's horribly expensive. MIDI player isn't that complicated, MIDI f...
by Eero Tamminen
Sat Mar 09, 2013 8:23 am
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

If you have Linux, you can get MIDI output with Hatari to a software sound synthetizer. Instructions are here: http://hg.tuxfamily.org/mercurialroot/hatari/hatari/raw-file/tip/doc/midi-linux.txt I could give that a try - does it work with MIDI output under Windows also? I already have some MIDI sof...
by Eero Tamminen
Fri Mar 08, 2013 10:27 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

It would be nice to have MIDI output too and I think that's also in there, but I have no way to test it really ATM. If you have Linux, you can get MIDI output with Hatari to a software sound synthetizer. Instructions are here: http://hg.tuxfamily.org/mercurialroot/hatari/hatari/raw-file/tip/doc/mid...
by Eero Tamminen
Fri Mar 08, 2013 8:01 pm
Forum: 680x0
Topic: Bad Mood : Falcon030 'Doom'
Replies: 2349
Views: 331171

Re: Bad Mood : Falcon030 'Doom'

I'm changing the way wall texturing works and it is currently a bit broken when walls face the viewer exactly - ignore that for now. Will eventually get fixed in subsequent builds. I think I found that bug. :-) Btw. What you've thought to do about the sound side? Sounds make quite a bit of the Doom...

Go to advanced search