Search found 252 matches

by DavidEtherton
Mon Aug 10, 2009 3:41 am
Forum: Hardware
Topic: Uzebox inside an FPGA ?
Replies: 4
Views: 2467

Re: Uzebox inside an FPGA ?

I've been trying to learn more about FPGA's off an on for a few years new. The NEXYS2 system is pretty cheap (around $100) and there are other ones even cheaper than that. See http://www.digilentinc.com/. For some decent books on basic FPGA development that are ready to run on the NEXYS2, see http:/...
by DavidEtherton
Fri Aug 07, 2009 2:55 am
Forum: Uzebox Emulator
Topic: Emulator Patch Submissions
Replies: 2
Views: 1289

Re: Emulator Patch Submissions

You'd need to dig up a unix patch utility to apply it, or just stare at the line numbers and do it by hand. + in the left hand margin means add a line, - means delete.

-Dave
by DavidEtherton
Fri Aug 07, 2009 2:54 am
Forum: Uzebox Emulator
Topic: Emulator Debugging Output (printf-style)
Replies: 3
Views: 1607

Re: Emulator Debugging Output (printf-style)

Nice one! I've done temporary hacks to print out access to particular ports for numeric debug spew, never made anything as nice as this.

-Dave
by DavidEtherton
Wed Jul 08, 2009 8:27 pm
Forum: Uzebox Emulator
Topic: Emulator performance on GNU/Linux
Replies: 19
Views: 5395

Re: Emulator performance on GNU/Linux

paul wrote:
I'm an engine programmer by trade
Rockstar's David Etherton?
Yeah.

-Dave
by DavidEtherton
Tue Jul 07, 2009 6:53 am
Forum: Uzebox Emulator
Topic: Emulator performance on GNU/Linux
Replies: 19
Views: 5395

Re: Emulator performance on GNU/Linux

That loop is a little misleading -- all it's used for is to generate the "emulated frame rate" display you see updated once every several seconds. I pretty much count on the underlying SDL implementation to magically sleep on a flip or a full audio queue. I'm not an SDL expert -- I added support in ...
by DavidEtherton
Sun May 17, 2009 6:34 am
Forum: Uzebox Emulator
Topic: Segmentation Fault
Replies: 2
Views: 1551

Re: Segmentation Fault

Yeah, that's my old 16 bit habits showing...
by DavidEtherton
Sat May 16, 2009 2:43 am
Forum: Uzebox Emulator
Topic: Im gettjng a Segfault
Replies: 5
Views: 1682

Re: Im gettjng a Segfault

gdb a.out (or whatever you called the resulting executable)
run whatever.hex
bt

Paste the results here.

Also, run it with no parameters to see the options it supports, and try some of them to see if they help -- -fullscreen, -nodoublebuf, etc.

-Dave
by DavidEtherton
Sun Apr 26, 2009 5:19 am
Forum: Uzebox Emulator
Topic: Sound is Messed up Under Linux
Replies: 4
Views: 1790

Re: Sound is Messed up Under Linux

SDL is a major timesuck under MacOS as least, wouldn't surprise me if it was the bottleneck on your setup too. I used to spend a lot of time in Linux ten plus years ago, back then there were console VGA modes available -- maybe one of those would be faster? (A 3Ghz machine should definitely be fast ...
by DavidEtherton
Wed Apr 22, 2009 2:33 pm
Forum: Programming & Software
Topic: MMC/SD Card Emulation?
Replies: 23
Views: 7898

Re: MMC/SD Card Emulation?

One of my first posts on this group last November or so included some code that would do low-level physical reads of an SD card under Win32.

-Dave
by DavidEtherton
Mon Apr 20, 2009 4:42 am
Forum: Uzebox Emulator
Topic: Emulator performance on GNU/Linux
Replies: 19
Views: 5395

Re: Emulator performance on GNU/Linux

On MacOS at least, SDL performance is fairly terrible. If you want to see how fast the emulator can run, turn off sound (-nosound I think) -- otherwise it slows down emulation to avoid flooding the sound buffer. If/when particular video modes become dominant, it would be pretty simple to detect the ...