Search found 2985 matches

by Chilly Willy
Sun Dec 11, 2022 3:29 pm
Forum: Video Display Processor
Topic: Understanding the VDP's scrolling capabilities.
Replies: 67
Views: 76070

Re: Understanding the VDP's scrolling capabilities.

Cool. Thanks. We can let this thread go back to sleep. :D
by Chilly Willy
Sun Dec 04, 2022 3:11 pm
Forum: Demos
Topic: The Question - ported to Sega Genesis / Mega Drive
Replies: 3
Views: 4683

Re: The Question - ported to Sega Genesis / Mega Drive

Awesome! Good to see choice4genesis is at a point where visual games can be used as examples.
by Chilly Willy
Sun Dec 04, 2022 3:04 pm
Forum: Video Display Processor
Topic: Understanding the VDP's scrolling capabilities.
Replies: 67
Views: 76070

Re: Understanding the VDP's scrolling capabilities.

This should probably be in its own thread with a title like "Capabilities of various VDPs at parallax effects" rather than necroing such an old thread. I like the videos showing examples of different effects, but more in-depth explanations would be more interesting. This is a site aimed at devs, so ...
by Chilly Willy
Mon Nov 07, 2022 3:19 pm
Forum: Demos
Topic: Virtual Donkey's Demo Scene (sgdk)
Replies: 17
Views: 21200

Re: Virtual Donkey's Demo Scene (sgdk)

The ram attack is pretty cool. Not sure I've seen that in other (fighting) games.
by Chilly Willy
Wed Nov 02, 2022 9:02 pm
Forum: Megadrive/Genesis
Topic: Help in understanding 68K indexed indirect addressing
Replies: 9
Views: 4603

Re: Help in understanding 68K indexed indirect addressing

You probably want MOVEQ #$00,D0 ; clear D0. MOVE.B LEV_NR,D0 ; load index (byte variable 00-FF level number) LEA LEV_TBL(PC),A0 ADD.W D0,D0 ADD.W D0,D0 MOVEA.L 0(A0,D0.w),A0 JMP (A0) Adding d0 to itself is faster than shifting, but only works for left shifts, and only up to 3 or 4 shifts. Use moveq ...
by Chilly Willy
Sun Oct 30, 2022 4:01 pm
Forum: Megadrive/Genesis
Topic: Help in understanding 68K indexed indirect addressing
Replies: 9
Views: 4603

Re: Help in understanding 68K indexed indirect addressing

I think you want @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 68K: move.w #$07,variable_index move.w variable_index,d0 --------------- lea variable0,a0 ; load the address at which the variable0 is located in the memory. move.b 0(a0,d0.w),d1 ; read the indexed content from the address written in A0+D0. ori.b #%10...
by Chilly Willy
Wed Oct 26, 2022 10:57 pm
Forum: Mega/SegaCD
Topic: MCD manual claiming issues with PSG access from Z80
Replies: 2
Views: 3635

Re: MCD manual claiming issues with PSG access from Z80

That bit about not accessing areas of the 68000 is referring to the CD HW. It goes with the first two - don't access ANY part of the CD, be it ram or hardware with the Z80. The CD IO is probably only expecting standard 68000 accesses, not the byte-wide, not quite 68K, Z80 accesses. They actually put...
by Chilly Willy
Sun Oct 09, 2022 12:57 pm
Forum: Demos
Topic: Virtual Donkey's Demo Scene (sgdk)
Replies: 17
Views: 21200

Re: Virtual Donkey's Demo Scene (sgdk)

Jumping looks like it only effects the height of the player. It still moves like walking in the horizontal directions, which makes the jump look floaty. But it's coming along nicely.
by Chilly Willy
Mon Oct 03, 2022 2:25 pm
Forum: Super 32X
Topic: simplest method for 32x sound?
Replies: 1
Views: 3522

Re: simplest method for 32x sound?

The simplest (IMHO) is to make a double-buffer that is DMAed to the PWM registers by one of the SH2 DMA channels, then make routines to fill those buffers. Here's my XM player examples for the 32X - one uses the secondary SH2 in a loop watching the DMA registers to see when to fill the buffers, and ...
by Chilly Willy
Sun Oct 02, 2022 2:48 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1166972

Re: Sega Genesis Dev Kit (SGDK)

I just ordered a couple pads, as my update shows. I got the bluetooth 8bitdo since the 2.4g is not available at this time. I also ordered the 8bitdo USB2 and Sega controller bluetooth adapters so I can use it on my PC and USB2 consoles (like the PS3). I also ordered the retro-bit 2.4g pad, which com...
by Chilly Willy
Sun Oct 02, 2022 2:20 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1166972

Re: Sega Genesis Dev Kit (SGDK)

As far as I know, L=Z and R=C, and the controller IDs as a normal 6-button pad. D32XR detects it like a normal pad, and you use the menu to set the controller to use L/R strafe via Z/C buttons. If it were IDing as something different, it wouldn't work with most games. I should probably get one and d...
by Chilly Willy
Tue Sep 20, 2022 11:14 pm
Forum: Tools
Topic: choice4genesis - a ChoiceScript clone for the Sega Genesis
Replies: 31
Views: 49638

Re: choice4genesis - a ChoiceScript clone for the Sega Genesis

Pretty cool. Should get really cool as you get more commands working.
by Chilly Willy
Tue Sep 06, 2022 11:06 pm
Forum: Super 32X
Topic: Yet Another Tilemap and Super Scaler Demo
Replies: 20
Views: 27069

Re: Yet Another Tilemap and Super Scaler Demo

If you look at D32XR, it actually uses a MD side font for debug printing. This font uses a nibble per pixel, with 0 at the background color, and F as the foreground color. These are used so that you can just AND with the foreground and background colors to make the font use whatever color you want (...
by Chilly Willy
Tue Sep 06, 2022 9:35 am
Forum: Super 32X
Topic: Yet Another Tilemap and Super Scaler Demo
Replies: 20
Views: 27069

Re: Yet Another Tilemap and Super Scaler Demo

Convert the font to 2 colors so each pixel is a bit. So 8x8 fonts become one byte wide by 8 tall. Convert the binary into strings of bytes like those in font.c. Make a new font.c file with your font. Note that it doesn't NEED to be character strings of bytes... you could do it as arrays of longs. Wh...
by Chilly Willy
Fri Sep 02, 2022 9:55 pm
Forum: Tools
Topic: My current Sega MD/CD/32X devkit
Replies: 7
Views: 17313

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

For people having trouble compiling the toolchain, here's an archive of my /opt/toolchains/sega directory. It's about 500 MB, and expands to about 3GB. This is built for an AMD64 system running Ubuntu 20.04 (or a derivative like Xubuntu). https://drive.google.com/file/d/1wIORIXQnakgardczn7tjNtrvcSnZ...