Search found 323 matches

by Fonzie
Tue Aug 25, 2009 3:01 am
Forum: Controls
Topic: 6Button reading routine, C code and a glitch!.
Replies: 11
Views: 23557

pb as volatile? Yep I did sir! :) Thank you all for posting. >HardWareMan Seeing your code. I was wondering... Lets say there is a 3button joypad plugged, how would you be sure that X/Y/Z/Mode wouldn't reflect UP/DOWN/LEFT/RIGHT ? I dont see any test in your code (I'm newbie at asm!). At least Comix...
by Fonzie
Fri Aug 21, 2009 7:38 am
Forum: Controls
Topic: 6Button reading routine, C code and a glitch!.
Replies: 11
Views: 23557

6Button reading routine, C code and a glitch!.

Hi Guys, I've been trying to edit the classic 3button reading function so it can handle 6buttons as well. The idea is to always read twice the joypad (even if its 3button), and look if the second read is different than the first (if so, its 6button joypad, ORRRRR bad contacts!). That sounds like a h...
by Fonzie
Mon Feb 09, 2009 2:31 pm
Forum: Demos
Topic: Wolf32X - now at alpha 4!
Replies: 36
Views: 32337

I checked, megacart.exe should support 30 & 31 meg roms :P PM sent with latest update, mr MIC :)

That's a great project btw, looking from the corner of my jail.
by Fonzie
Sun Jan 18, 2009 9:23 am
Forum: Video Display Processor
Topic: Is DMA useful ?
Replies: 30
Views: 29235

Jorge Nuno > Well, I can't turn off video as its displaying something. Umm, 32 bytes/line of display... Are you sure? Because it would mean that you could DMA 224 tiles during active period, and I have some doubts about it ^^. Hoooo god, that's nerdism to the max :P Nobody want to do a song about th...
by Fonzie
Sun Jan 18, 2009 12:18 am
Forum: Video Display Processor
Topic: Is DMA useful ?
Replies: 30
Views: 29235

Ok, I have a little question that is regarding "should I dma or not"... I want to transfert 512 bytes from a fixed ram location into vram... But I'll have to do a lot of 512 bytes transferts, that may occur during v_active mainly... I tried to do little dmas of 512 bytes.... And also tried to do 68K...
by Fonzie
Sat Jan 17, 2009 5:52 pm
Forum: Megadrive/Genesis
Topic: Checksum calculation (slow in GCC)
Replies: 9
Views: 7025

Why you want to make checksum for whole ROM every time? It's slightly pointless. If you want to have this function to ensure that cartridge isn't damaged, you can make this test optional (executed only while hold some buttons on power-up or reset), and describe that in the manual. Thx for all the a...
by Fonzie
Tue Oct 28, 2008 12:35 pm
Forum: Megadrive/Genesis
Topic: Checksum calculation (slow in GCC)
Replies: 9
Views: 7025

Ok :D Thx.
I just passed to word to twice a bit the speed...
Well, i'll have to make something more fancy for the ultra 64MEG of power checksumming ^^ Don't want to wait 30 seconds haha.
by Fonzie
Tue Oct 28, 2008 11:38 am
Forum: Megadrive/Genesis
Topic: Checksum calculation (slow in GCC)
Replies: 9
Views: 7025

Checksum calculation (slow in GCC)

Hi :) I wanted to make my own checksum routine today... Basically adding all the bytes of the rom to a 16bit word : temp=0; for(i=0x200;i<4096*1024;i++) { temp+=(*checksum0); checksum0++; } The fact is... it takes around 15-20 seconds to checksum 4MegaBytes :P So my question is... Is that normal for...
by Fonzie
Mon Sep 29, 2008 5:33 pm
Forum: Demos
Topic: Another 32X demo
Replies: 11
Views: 9936

Haha, seeing a flat polygon is always great.... great memories. What's great is that it puts your own imagination at work :D Here, i see a sort of outrun game, sunset, and a very monochromatic racing game, with black road & lamp pillars around... And just some red details, like shines on the cars an...
by Fonzie
Mon Sep 22, 2008 4:49 pm
Forum: Demos
Topic: Another 32X demo
Replies: 11
Views: 9936

Psycho :D
5 line code, absolute great result... Nice job :D

Would SH2 asm be a lot faster than C for those kind of things?
by Fonzie
Thu Sep 11, 2008 10:28 am
Forum: Video Display Processor
Topic: 1536 color test
Replies: 11
Views: 10711

If i remember, Charles used some kind of DMA trick to refresh colors.
Mic : Did you see a bunch of white/black corruption dots blinking all around the screen?
by Fonzie
Thu Sep 04, 2008 10:08 am
Forum: Mega/SegaCD
Topic: Porting Megadrive code to mega cd
Replies: 10
Views: 13408

Plop :D
Its MOD who did the easy to use loader :
http://www.retrodev.com/

I was a user of it :D But now I have my own loader (main & subcpu boot code), however, it is not as automated as MOD's one but I can provide C source code.

Fonz
by Fonzie
Thu Sep 04, 2008 10:04 am
Forum: Demos
Topic: Pier Solar
Replies: 9
Views: 9457

Its nice because many comments are already fixed (demo is from april) :D Thx for the interest. The the character moving/camera scorlling is... bad, I think the pokemon games do it better, the camera follows the char movement with no delay. Do you mean, the camera follow the char movement with NOT EN...
by Fonzie
Thu Jul 17, 2008 5:13 pm
Forum: Tools
Topic: Moved to XP SP3, and XGCC troubles :/
Replies: 6
Views: 7948

Thx all. I can't install SP2, my GPU and sound drivers are for SP3 only. And maybe i forgot to say, but I never install XGCC, I always copy/paste the whole Xgcc folder & .bat in c:/ to "install" it. It worked great on my xpSP2 laptop, my w98 comp... "c:\windows\_default.pif. " Very interesting file....
by Fonzie
Thu Jul 17, 2008 2:45 pm
Forum: Tools
Topic: Moved to XP SP3, and XGCC troubles :/
Replies: 6
Views: 7948

Moved to XP SP3, and XGCC troubles :/

Hello, Since I bought a new laptop, I recently moved to XP SP3 (I was XP SP2 and Windows 98 before). And although I tried to install XGCC as usual (maybe i forgot something), I can't compile anymore Piersolar project :/ In my XGCC . bat ... gcc -b 68k -m68000 -O3 -c lzsslib.o lzsslib.c OK gcc -b 68k...