Search found 16 matches

by GeoffLedak
Thu Apr 21, 2022 5:51 am
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 133930

Re: Update your Genesis/32X Toolchain!

I've used this toolchain for several projects in the past and it works great. I've always just used a simple text editor, but for larger projects sometimes I wish I could use an IDE of some sort. Is there a way to make this work with an IDE like Visual Studio or CLion? Apologies in advance if this i...
by GeoffLedak
Thu Aug 24, 2017 9:02 pm
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 133930

Re: Update your Genesis/32X Toolchain!

Thanks! That's what I needed.

Mask Of Destiny pointed out that it can be simplified a bit with

Code: Select all

jsr	CFunct
No lea needed.
by GeoffLedak
Wed Aug 23, 2017 9:16 pm
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 133930

Re: Update your Genesis/32X Toolchain!

progress.

Now the program prints a single letter 'm' and then appears to hang. I changed the vblank subroutine to this:

Code: Select all

vblank:
        move.l  internalVIntCB,-(sp)
        beq.b   1f
        rts
1:
        addq.l  #1,gTicks
        addq.l  #4,sp
        rte
by GeoffLedak
Wed Aug 23, 2017 8:22 pm
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 133930

Re: Update your Genesis/32X Toolchain!

I'm able to compile the rom but when I run it I just get a black screen that does nothing. Here's my main C file: #include <stdio.h> #include <stdlib.h> #include "hw_md.h" void putChar(char character); void advanceCursor(); void putNewline(); void WaitForVBlank(); void readControllers(); char xPosit...
by GeoffLedak
Wed Aug 23, 2017 4:31 pm
Forum: Tools
Topic: Update your Genesis/32X Toolchain!
Replies: 110
Views: 133930

Re: Update your Genesis/32X Toolchain!

Thanks a bunch for this Chilly Willy. I've been working with the toolchain and was able to put together an XBAND keyboard test rom using the same keyboard read and write functions from the XBAND source code. To keep my main loop running at 60 iterations per second I wrote a WaitForVBlank function (m...
by GeoffLedak
Mon Apr 03, 2017 10:57 pm
Forum: Demos
Topic: Getting back into md coding. Where's the latest VGM driver?
Replies: 3
Views: 4067

Re: Getting back into md coding. Where's the latest VGM driver?

hey Sig, I watched a few of your MD development videos on youtube several years ago; they were helpful for understanding the basics.
Hi! ( ^_^)/
by GeoffLedak
Thu Mar 30, 2017 7:50 am
Forum: Blabla
Topic: WakeOnLan my Genny
Replies: 2
Views: 8441

Re: WakeOnLan my Genny

The folks over at TASvideos.org set up a system where an original Nintendo could be powered on remotely via a python script. It was created so that multiple people could collaborate on tool assisted speed runs and make sure that they work properly on actual hardware. You can see it in action at 14:3...
by GeoffLedak
Mon Feb 20, 2017 5:03 am
Forum: Megadrive/Genesis
Topic: XBAND, Mega Net 2, and Mega Drive Keyboards
Replies: 20
Views: 15646

Re: XBAND, Mega Net 2, and Mega Drive Keyboards

The keyboard was advertised via XBAND news and was available to order by phone directly from Catapult Entertainment. http://www.geoffledak.com/xbandkeyboards/pics/keyboard.jpg http://www.geoffledak.com/xbandkeyboards/pics/keyboard-box.jpg http://www.geoffledak.com/xbandkeyboards/pics/manual-front-co...
by GeoffLedak
Fri Feb 03, 2017 3:15 pm
Forum: Megadrive/Genesis
Topic: XBAND, Mega Net 2, and Mega Drive Keyboards
Replies: 20
Views: 15646

Re: XBAND, Mega Net 2, and Mega Drive Keyboards

I just thought I'd add that the keyboard definitely made it out of the prototype stage and was available for sale back in the day. There's a guy in the XBAND facebook group who posted some pictures of his Genesis keyboard. I sent him a message asking some questions about it and he says that he order...
by GeoffLedak
Mon Jan 30, 2017 8:59 am
Forum: Megadrive/Genesis
Topic: XBAND, Mega Net 2, and Mega Drive Keyboards
Replies: 20
Views: 15646

Re: XBAND, Mega Net 2, and Mega Drive Keyboards

I've been continuing work on my project of trying to use an Arduino Uno to simulate the xband keyboard. I bought an xband modem on ebay and I have some pins from the Arduino connected to a DB9 connector which is plugged into the Genesis. So far it's been quite an enlightening learning project (I've ...
by GeoffLedak
Mon Jan 30, 2017 12:06 am
Forum: Megadrive/Genesis
Topic: XBAND, Mega Net 2, and Mega Drive Keyboards
Replies: 20
Views: 15646

Re: XBAND, Mega Net 2, and Mega Drive Keyboards

I think I just found what I was looking for.

/Database/DBConstants.h contains this:

/* Hardware Keyboard ID */
kESKeyboardID = 0x030C0609,
by GeoffLedak
Sun Jan 29, 2017 8:52 am
Forum: Megadrive/Genesis
Topic: XBAND, Mega Net 2, and Mega Drive Keyboards
Replies: 20
Views: 15646

Re: XBAND, Mega Net 2, and Mega Drive Keyboards

And yeah I had gone over the keyboard code long ago, it relies on an adapter to connect an AT keyboard to the console: REQUIREMENTS: - TH and TR are always output - TL is always input - Other bits depend on action HANDSHAKE: - Set TH and TR high ($60) - Wait a bit (two NOPs) - Read bits 3-0 (should...
by GeoffLedak
Sun Jan 08, 2017 2:58 am
Forum: Megadrive/Genesis
Topic: XBAND, Mega Net 2, and Mega Drive Keyboards
Replies: 20
Views: 15646

Re: XBAND, Mega Net 2, and Mega Drive Keyboards

That particular snippet seems to be resetting the stack (i.e. removing everything that was on it). Is that some sort of init code or the like? EDIT: also no, no idea which compiler it is =P Yeah it's some code to reset the stack at the very beginning of main() in ROMMain.c. I just grabbed it as an ...
by GeoffLedak
Sat Jan 07, 2017 11:23 pm
Forum: Megadrive/Genesis
Topic: Collision Help Please...
Replies: 12
Views: 9788

Re: Collision Help Please...

Here's a good tutorial on basic physics and floor collection detection using 68k assembly on the Genesis:
https://www.youtube.com/watch?v=Kalmryn9_sE
by GeoffLedak
Sat Jan 07, 2017 9:09 pm
Forum: Megadrive/Genesis
Topic: XBAND, Mega Net 2, and Mega Drive Keyboards
Replies: 20
Views: 15646

Re: XBAND, Mega Net 2, and Mega Drive Keyboards

Sowwy (・ω・`) (though I may redesign the UI a bit) Very impressive. I may be passing several questions your way. Something that I was curious about that you might know the answer to: I noticed that some of the XBAND source code includes inline assembly which uses a simple syntax with the asm keyword...