Search found 2763 matches

by Chilly Willy
Mon Aug 19, 2019 11:18 pm
Forum: Demos
Topic: The Spiral, a Megadrive demo by RESISTANCE
Replies: 1
Views: 155

Re: The Spiral, a Megadrive demo by RESISTANCE

Nice! The voxel part in particular. :D
by Chilly Willy
Sun Aug 18, 2019 3:24 pm
Forum: Controls
Topic: Mega Mouse with wheel
Replies: 9
Views: 712

Re: Mega Mouse with wheel

The main issue with switching controllers between the Amiga and SEGA consoles is SEGA swapped pins 5 and 7 compared to all other 9-pin controllers to avoid patent issues. Yes, the original 9-pin DIN controller interface everyone (but SEGA) used was patented. I've moved SEGA controllers over to the A...
by Chilly Willy
Mon Aug 12, 2019 6:33 pm
Forum: SGDK
Topic: About sinFix16()
Replies: 5
Views: 337

Re: About sinFix16()

The table starts at 0 and goes to 1023. 0 binary angle units is the same as 0 degrees, 256 is the same as 90 degrees, 512 is the same as 180 degrees, 768 is the same as 270 degrees, and 1024 would be the same as 360 degrees. You AND the binary angle you are using with 1023 (0x3FF) so that anything m...
by Chilly Willy
Sun Aug 11, 2019 4:56 pm
Forum: Video Display Processor
Topic: Seamless dungeon crawler effect
Replies: 11
Views: 425

Re: Seamless dungeon crawler effect

but it seems every game reinvent the wheel every time...for every thing Unless you license engines and libraries (if the library needs to be licensed), you WILL reinvent the wheel on everything. It's inescapable. Generally, I borrow a lot from my old code, depending on if my current employer owns t...
by Chilly Willy
Sat Aug 03, 2019 9:05 pm
Forum: SGDK
Topic: About sinFix16()
Replies: 5
Views: 337

Re: About sinFix16()

Why 64 to -64 ???? I read that sinFix16( value ) needs a value from 0 to 1024, I just put 'x' and works... not sure why :P It goes from 64 to -64 because with the fixed point 16-bit numbers in SGDK, that's 1 to -1. Remember, the fractional part of the fix16 is 6 bits. The table goes from 0 to 1024 ...
by Chilly Willy
Sun Jul 28, 2019 6:46 pm
Forum: Demos
Topic: Devwill Too MD
Replies: 7
Views: 2712

Re: Devwill Too MD

I love how in the jukebox, the game character are playing the instruments. :lol:
by Chilly Willy
Mon Jul 22, 2019 1:58 pm
Forum: Tools
Topic: My current Sega MD/CD/32X devkit
Replies: 2
Views: 877

Re: My current Sega MD/CD/32X devkit

Thanks for posting that. There are plenty of people who use BSD, so I'm sure others may find that handy. In any case, SGDK is a nice devkit. I contribute to it myself. It's more for people making MD/Genesis games who want/need a lot of functions to control it's many features. To the end, it's great....
by Chilly Willy
Sun Jul 21, 2019 3:51 pm
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

Okay, had a chance to look at my track ball this weekend. Took the opportunity while it was apart to clean the ball and rollers. Anywho, my current belief if the problem is low voltage. Vcc at the MCU is only 4.64V. On the CDX, it's 4.86V. While the datasheet for the MCU says the minimum operating v...
by Chilly Willy
Sat Jul 20, 2019 7:23 pm
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

Didn't you send me your asm for that? I remember it setting the port to 00, reading for ID bits, then setting to 40 and reading for the other ID bits... basically a few usecs between setting 40 and reading the port. Now if you had done it the other way around, read the port, set to 00, read the port...
by Chilly Willy
Sat Jul 20, 2019 12:50 pm
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

I think the order isn't the main thing here, but rather the amount of time you wait after setting TH=1. When you reset the ports (generally to 0x40/0x40), you are supposed to wait two vblanks before reading the port to get the TH=1 ID bits. I imagine that if you read TH=0 bits first, but waited two ...
by Chilly Willy
Fri Jul 19, 2019 1:39 pm
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

I guess that's one reason why games with hacked in mouse code don't use Fusion as their emulator of choice in playing the game. I can't say I remember ever trying the mouse support in Fusion.
by Chilly Willy
Thu Jul 18, 2019 4:04 pm
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

It's possible it's not the MCU that's too susceptible to noisy power (though that probably isn't helping it) but the optical part. If the lights fluctuate too much I could see it causing the photosensors pick up spurious motion (and hence causing the random values). Now I also wonder if there's eno...
by Chilly Willy
Thu Jul 18, 2019 1:06 am
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

Yeah, I just tried my ZT cable today and it works fine on the Nomad. As to dirty power rails, that might be the case. The Sports Pad uses an old MB88201 MCU to handle the trackball. Maybe it was susceptible to noisy power. The only thing on the Sports Pad that works on the Nomad are the two buttons,...
by Chilly Willy
Wed Jul 17, 2019 9:10 pm
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

Nomad + Propad6 = ok Nomad + 3button pad = ok Nomad + Mega Mouse = ok Nomad + Phaser = ok Nomad + Justifier (both guns) = ok Nomad + Sports Pad = fail Doesn't work in SMS games from flash cart either, so I wonder if it's a power problem. Not enough current on the port to power the optical pickups, m...
by Chilly Willy
Wed Jul 17, 2019 5:24 pm
Forum: Controls
Topic: Mega Mouse unused nibbles research
Replies: 30
Views: 1317

Re: Mega Mouse unused nibbles research

I imagine Control mode is basically "emulate a D-pad"? Especially since the Master System controller calls it Control Pad (the term Direction Pad came with the Mega Drive). Oh, duh. Yeah. No wonder it doesn't decode like a trackball - because it's emulating the standard SMS control pad. That explai...