Getting there...

[ Follow Ups ] [ Post Followup ] [ TI-99 Emulator Forum ] [ FAQ ]

Posted by Tursi on October 23, 1999 at 19:20:52:

Slowly getting used to DirectX... tonight I spent a couple of hours, and may yet spend a couple more, but got a few things done. First is voice channel support - all three channels are working.
Second is I fixed the timer - so that the interrupts now tick 60 times a second somewhat reliably, before it was lucky to get 20-30. The result? Massive speed boost... I guess more of the problem was interrupt based than I thought. It now runs about the speed it used to. The timer had to go into a new thread, so it's now officially a multi-threaded Win32 application.

To do: Noise channel, speech channel. Once those are done, I have a couple of speed-ups for the video routine to try, and then move the whole video draw routine into a separate thread so it doesn't slow down the rest of the emulator.

After that, we'll see.

But I still am not sure on sprite priority. I flipped the order it draws the sprites, and to my memory that looks better, but I can't test. It's now backwards to what V9T9 draws, but which is right? Can someone test or tell me? If you draw two sprites, say #1 and #2, which is on top? If someone has a real TI handy and can type in this quick program in XB and tell me:

20 CALL CHAR(42,RPT$("F",16))
30 CALL SPRITE(#1,42,2,50,50)
40 CALL SPRITE(#2,42,16,50,50)
50 GOTO 50

Is the black or white sprite on top on a *REAL* TI?

Anyway, the new binary is online, but I didn't update the source code tonight.

Follow Ups:

Post a Followup




Optional Link URL:
Link Title:
Optional Image URL:

[ Follow Ups ] [ Post Followup ] [ TI-99 Emulator Forum ] [ FAQ ]