In a while I'll try to do some effect based in Hblank. First of all I went on analyzing some other code, and this is the code that Sonic the Hedgehog uses for reloading the palette for the water:
DrawWater:
move #$2700,sr
tst.w (f_hbla_pal).w ; is palette set to change?
beq.s @nochg ; if not ...
Search found 27 matches
- Sat Dec 26, 2015 8:42 pm
- Forum: Megadrive/Genesis
- Topic: Why not to DMA this?
- Replies: 4
- Views: 5315
- Mon Sep 07, 2015 3:41 pm
- Forum: Megadrive/Genesis
- Topic: VDP is skipping commands?
- Replies: 0
- Views: 11228
VDP is skipping commands?
Hello.
This time I'm trying something different for Sega CD... Keep SubCPU to process all the main engine, and MainCPU to process all I/O. For such, I have done the following: From SoulessSentinel's SCD template, I have done exactly the inverse method: SubCPU to hold all the main code, and MainCPU ...
This time I'm trying something different for Sega CD... Keep SubCPU to process all the main engine, and MainCPU to process all I/O. For such, I have done the following: From SoulessSentinel's SCD template, I have done exactly the inverse method: SubCPU to hold all the main code, and MainCPU ...
- Wed Sep 02, 2015 12:14 am
- Forum: Megadrive/Genesis
- Topic: Unknown warnings from Gens KMod
- Replies: 2
- Views: 3725
Re: Unknown warnings from Gens KMod
The message itself is valid, but not the source addresses :P. I got access to my Desktop PC again where I have a modded version of Genesis Plus GX for retroarch with error logs enabled, and although my code mistakenly indeed do write at those bad locations, the bad code was from a much earlier ...
- Sat Aug 29, 2015 2:33 pm
- Forum: Megadrive/Genesis
- Topic: Unknown warnings from Gens KMod
- Replies: 2
- Views: 3725
Unknown warnings from Gens KMod
So, I decided to give a try to some special Gens KMod debugging features, apart from the typical memory viewers and such. After enabling a few of "Spy strange behaviors" features, I get the following warnings:
Spy : 202CBC want to write a Word at 00BFFFFC
Spy : 202CBC want to write a Word at ...
Spy : 202CBC want to write a Word at 00BFFFFC
Spy : 202CBC want to write a Word at ...
- Fri Aug 07, 2015 3:53 am
- Forum: Mega/SegaCD
- Topic: Sega CD (US) BIOS Disassembly @ GitHub
- Replies: 7
- Views: 22831
- Fri Aug 07, 2015 3:23 am
- Forum: Megadrive/Genesis
- Topic: Confusion about interrupts
- Replies: 1
- Views: 2987
Confusion about interrupts
I'm very confused about when do H-int and V-int happen. Please take in consideration I put most of VDP writing code on V-int section.
Does the V-int code run before, or after the frame is drawn? If happens after, then does it mean that what we see on screen is 1 frame delayed? :O
And, does the H ...
Does the V-int code run before, or after the frame is drawn? If happens after, then does it mean that what we see on screen is 1 frame delayed? :O
And, does the H ...
- Wed Apr 22, 2015 2:42 pm
- Forum: Mega/SegaCD
- Topic: SegaCD debugging emulator?
- Replies: 12
- Views: 30182
- Mon Apr 20, 2015 9:12 pm
- Forum: Mega/SegaCD
- Topic: SegaCD debugging emulator?
- Replies: 12
- Views: 30182
Hmmm... the truth is that I don't use a Windows OS... and I don't really know how to edit the libretro's makefile to output a DLL... I use Ubuntu, and by default a .SO file is generated upon build. I just don't know how to let it build a .DLL file, but I may check it some time. What I can do however ...
- Thu Apr 16, 2015 11:06 pm
- Forum: Mega/SegaCD
- Topic: SegaCD debugging emulator?
- Replies: 12
- Views: 30182
- Thu Apr 09, 2015 12:52 am
- Forum: Mega/SegaCD
- Topic: SegaCD debugging emulator?
- Replies: 12
- Views: 30182
Heh, sure =D. Though that's the only "big issue" I have found so far (apart of not emulating the illegal addressing issues, but that's usually something the ASM compiler I use do take care of :P ). I have already tried to insert the check in both KMod and GenGX+ source codes, but everything went on ...
- Sat Apr 04, 2015 6:06 am
- Forum: Mega/SegaCD
- Topic: SegaCD debugging emulator?
- Replies: 12
- Views: 30182
- Tue Mar 10, 2015 2:38 am
- Forum: Megadrive/Genesis
- Topic: How to crash the emulator?
- Replies: 3
- Views: 5650
How to crash the emulator?
Time for a goofy question now... but here it goes:
Years ago, while trying to learn the basics of the console, I had bugs, lots of bugs. But in a single ocassion, I made it bad enough the game didn't crash, but the emulator. Until today I haven't been able to do it again; I don't remember how I ...
Years ago, while trying to learn the basics of the console, I had bugs, lots of bugs. But in a single ocassion, I made it bad enough the game didn't crash, but the emulator. Until today I haven't been able to do it again; I don't remember how I ...
- Tue Feb 17, 2015 7:43 pm
- Forum: Megadrive/Genesis
- Topic: Simple question about screen resolution, on hardware
- Replies: 4
- Views: 6439
- Tue Feb 17, 2015 4:50 pm
- Forum: Megadrive/Genesis
- Topic: Simple question about screen resolution, on hardware
- Replies: 4
- Views: 6439
- Mon Feb 16, 2015 11:20 pm
- Forum: Megadrive/Genesis
- Topic: Simple question about screen resolution, on hardware
- Replies: 4
- Views: 6439
Simple question about screen resolution, on hardware
EDIT: Seems like a new forum has been introduced, and I should have posted this thread there . I'm sorry! *facepalm*
As for NTSC hardware, as far as I know, adapter renders four border to screen's four edges, while the "graphical" part is stored at the center...
now my question is, are those ...
As for NTSC hardware, as far as I know, adapter renders four border to screen's four edges, while the "graphical" part is stored at the center...
now my question is, are those ...