Search found 201 matches

by Pascal
Wed Jan 17, 2007 7:59 am
Forum: Megadrive/Genesis
Topic: Detecting the bios
Replies: 15
Views: 12545

thanks i gonna try it. i noticed you just inserted

move.l #$53454741,($A14000).l at 0x1e0

i was doing the write of the 'sega' chars also, how is it gonna disable the bios ?

EDIT oki, you always write it, are you sure it won't crash on early MD ? coz that reg adress is maybe write only
by Pascal
Tue Jan 16, 2007 7:02 pm
Forum: Megadrive/Genesis
Topic: Detecting the bios
Replies: 15
Views: 12545

but where's the fun ??? ;-)
by Pascal
Tue Jan 16, 2007 2:53 pm
Forum: Megadrive/Genesis
Topic: Detecting the bios
Replies: 15
Views: 12545

Detecting the bios

hello all ;) I was thinking a bit about the md homebrewn legality, knowing that the megadrive is back on track commercialy with all those virtual consoles and megadrive compilation game. What's worrying me is the message "produced or licensed by sega" which is displayed by the md2 bios... Maybe you ...
by Pascal
Tue Jan 16, 2007 2:03 pm
Forum: Megadrive/Genesis
Topic: hardware reset freeze megadrive
Replies: 14
Views: 10650

sure it's the demo of
http://www.spoutnickteam.com/ST/viewgames.php3?id=3

i got the first beta, need to heavily test it on the hard and write a manual (boooring ^^)
by Pascal
Tue Jan 16, 2007 11:20 am
Forum: Tools
Topic: .NET for my next tool ?
Replies: 6
Views: 7403

but there's a advantage to use Dotnet is to be cross platform, there's the "mono" framework www.mono-project.com , which allow you to run on linux without much hassle. Actually i was wrong to vote 'no', as i admit, it's really hard to choose a programming language, all of them got theirs fors and co...
by Pascal
Tue Jan 16, 2007 10:30 am
Forum: Tools
Topic: .NET for my next tool ?
Replies: 6
Views: 7403

Well, i don't like much DOTNET (even if i'm paid to dev in c#) for small tools because you'll force people to download a 30mo framework for running a 40ko exe. Depend of the kind of tool Also, some People here are still running with win98, i don't know if it's compatible. I voted no, coz myself i'd ...
by Pascal
Mon Jan 15, 2007 2:36 pm
Forum: Megadrive/Genesis
Topic: hardware reset freeze megadrive
Replies: 14
Views: 10650

I see, i reseted everything to be sure :D things are coming along nicely, i'll release surely something this week :P
by Pascal
Mon Jan 15, 2007 2:07 pm
Forum: Megadrive/Genesis
Topic: hardware reset freeze megadrive
Replies: 14
Views: 10650

nop, except the startup code , it's all my code ;) but i was reading the joypad during every VBLANK. So as interrupts where not disable my pad reading routine was still active. and during it, i was trying to jump to an unknow location (i'm using a pointer in ram). So now i've handle it properly by d...
by Pascal
Mon Jan 15, 2007 1:44 pm
Forum: Megadrive/Genesis
Topic: hardware reset freeze megadrive
Replies: 14
Views: 10650

i found the problem, thanks for your clues stef , it was that interrupts were still activated when i reset. But i needed to redo all the vdp,vram,... clearing , else my rom gonna glitch.

now i'm wondering why the startup code was skipping the initialize of vdp and vram when there's a reset ?
by Pascal
Mon Jan 15, 2007 12:41 pm
Forum: Megadrive/Genesis
Topic: hardware reset freeze megadrive
Replies: 14
Views: 10650

thanks to your point that kega might reproduce the behaviour, i get to the conclusion that the problem is the joypad initialisation, after the ram is cleared, i initiliaze the joypad using the following code : PAD3_Init: moveq #$40,d0 move.b d0,$a10009 move.b d0,$a1000b move.b d0,$a1000d ... rts if ...
by Pascal
Mon Jan 15, 2007 11:06 am
Forum: Megadrive/Genesis
Topic: hardware reset freeze megadrive
Replies: 14
Views: 10650

i'm using asm with snasm68k Stef: i've tried and kega soft reset do exactly the same. i'm using the classic startup code: MD_Startup_Code: tst.l $a10008 bne SkipJoyDetect tst.w $a1000c SkipJoyDetect: bne SkipSetup lea Table,a5 movem.w (a5)+,d5-d7 movem.l (a5)+,a0-a4 move.b -$10ff(a1),d0 ;Check Versi...
by Pascal
Mon Jan 15, 2007 10:22 am
Forum: Megadrive/Genesis
Topic: hardware reset freeze megadrive
Replies: 14
Views: 10650

hardware reset freeze megadrive

Hello all,

i've a little problem in my game, when the user push the reset button, that freeze totaly my megadrive. Do you have idea of what can causing such behavior ? i'm was not doing any z80 bus acces at that time. Maybe DMA...

thanks in advance
by Pascal
Tue Jan 09, 2007 9:39 am
Forum: Collaboration
Topic: Megadrive multipart demo
Replies: 27
Views: 32748

that's the idea, but it's better to have an variable which hold a pointer to the user vblank function itself. Here's the code i'm using for my interrupts handling (HInt is the same) MD_VBlank_Cnt ds.l 1; vblank counter MD_VBlank_Handler ds.l 1; *vblank function pointer MD_HBlank_Handler ds.l 1; *hbl...
by Pascal
Tue Jan 09, 2007 7:55 am
Forum: Megadrive/Genesis
Topic: Coding language
Replies: 33
Views: 23792

Well to be honest i don't think the GCC 68k code generation is that good. It's correct but we can definitly do better job by hand on critical part and sometime we need to help C compiler (as the i = num; while(i--) {...}; for dbcc use) Anyway i find it's sufficient in almost case. It's why i choose...
by Pascal
Tue Jan 09, 2007 7:37 am
Forum: Megadrive/Genesis
Topic: Coding language
Replies: 33
Views: 23792

yup, i confirm, GCC code generation is really impressive, even better than my poor asm code ^_^