Search found 2890 matches

by Stef
Tue Mar 19, 2019 8:35 am
Forum: Demos
Topic: Cpu speed test rom (md+scd)
Replies: 17
Views: 641

Re: Cpu speed test rom (md+scd)

Would be nice to have a version showing speed from different area :
ROM / RAM / comm registers... :)
by Stef
Mon Mar 18, 2019 9:02 am
Forum: SGDK
Topic: SGDK and MD details, limitations...
Replies: 11
Views: 287

Re: SGDK and MD details, limitations...

@Miquel > You can probably setup VS to use external compiler (and debugger, or just it could support GDB debugging).
by Stef
Sat Mar 16, 2019 8:32 am
Forum: SGDK
Topic: SGDK and MD details, limitations...
Replies: 11
Views: 287

Re: SGDK and MD details, limitations...

Still working on the rescomp rewrite, i can't give any date sorry :-/ Some days i can make nice progresses then i'm interrupted for 2 weeks.. I hope to be able to deliver it before summer. Still if you need some fixes included in the new version, you can fetch changes rom github repository, it inclu...
by Stef
Fri Mar 15, 2019 5:47 pm
Forum: SGDK
Topic: SGDK and MD details, limitations...
Replies: 11
Views: 287

Re: SGDK and MD details, limitations...

Hey :) Did the guy in the video managed to have VStudio debugging working with SGDK ?? that would be really handy ! 1) MD has 64KB of memory, so about 65000 s8 variables, but SGDK consumes a bit of it (probably about 3000 bytes) 2) signed character ? well we use s8 to store a single character as it'...
by Stef
Fri Mar 15, 2019 5:39 pm
Forum: SGDK
Topic: SPR_setDepth not working?
Replies: 3
Views: 133

Re: SPR_setDepth not working?

You can actually put 2 objects on same depth but so the order of display between the 2 is undefined, this is expected. Here you just need to put player sprite between barrel and bridge, you don't have other way of doing that. You have to define how many different depth levels you need then adjust de...
by Stef
Thu Mar 14, 2019 1:54 pm
Forum: SGDK
Topic: SPR_setDepth not working?
Replies: 3
Views: 133

Re: SPR_setDepth not working?

What is the depth of Goofy ? If Goofy is also set at MIN_DEPTH then order between the two is undetermined.

Your game looks really nice by the way :)
by Stef
Fri Mar 08, 2019 10:40 pm
Forum: SGDK
Topic: Palette corruption help
Replies: 2
Views: 130

Re: Palette corruption help

VDP_drawImageEx(PLAN_A, &BG_image, TILE_ATTR_FULL(PAL2, FALSE, FALSE, FALSE, ind), 0, 0, TRUE, TRUE); VDP_drawImageEx(PLAN_B, &FG_image, TILE_ATTR_FULL(PAL1, FALSE, FALSE, FALSE, ind), 0, 0, TRUE, TRUE); You're putting your tiles for both plan / image on same location in VRAM (from ind variable), i...
by Stef
Thu Mar 07, 2019 10:30 am
Forum: SGDK
Topic: RESCOMP and individual nametable entries?
Replies: 10
Views: 571

Re: RESCOMP and individual nametable entries?

The VDP_setMap(..) VDP_setMapEx(..) method does use a "basetile" argument, still the map data can "override" it (and internally the VDP_setMapEx(..) method uses VDP_setTileMapDataRectEx(..) :wink: )
by Stef
Wed Mar 06, 2019 11:06 am
Forum: SGDK
Topic: RESCOMP and individual nametable entries?
Replies: 10
Views: 571

Re: RESCOMP and individual nametable entries?

This trash the priority flag because your image (and so its tilemap) is stored in ROM. So when you're doing that : u16 *aplan_tilemap = bga_image.map->tilemap; u16 *shadowmap_tilemap = bga_priority_image.map->tilemap; .... *aplan_tilemap &= TILE_ATTR_PRIORITY_MASK; .... } you're trying to write to R...
by Stef
Thu Feb 28, 2019 12:08 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 772
Views: 327811

Re: Sega Genesis Dev Kit (SGDK)

Nope, i think it's the first time somebody ask for it ^^
Could be added but you will definitely be faster do it yourself for now ;)
by Stef
Wed Feb 27, 2019 9:14 am
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 256
Views: 27635

Re: Tänzer, a "ninja" game (Dev Diary thread)

Congratulations !!
Can we know how many carts did you ordered to the manufacturer and if you plan to do several batch ?
I'm sure that with good communication you can sell easily more than 200 copies =)
by Stef
Thu Feb 21, 2019 8:46 am
Forum: SGDK
Topic: General questions
Replies: 9
Views: 872

Re: General questions

Oh yeah, that is my mistake so, in french we call that "plan" indeed and i put that constant names in SGDK instead of "plane" :lol:
by Stef
Tue Feb 19, 2019 9:01 am
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 41
Views: 3566

Re: dealing with matrices (arrays)

Why just not doing this ? static void joyEvent(u16 joy, u16 changed, u16 state) { if (joy == JOY_1) joy1Event(changed, state); else if (joy == JOY_2) joy2Event(changed, state); } static void joy1Event(u16 changed, u16 state) { // player 1 stuff ... } static void joy2Event(u16 changed, u16 state) { /...
by Stef
Tue Feb 19, 2019 8:56 am
Forum: SGDK
Topic: Artifacts on astrofora/starfield sample
Replies: 2
Views: 138

Re: Artifacts on astrofora/starfield sample

Artefacts are expected as we reach the limit of sprites per line. Also there are different way of displaying these animated sprites on screen. If you re upload frame data for all sprites it will be very slow (but can be a good benchmark), if you pre upload all animations to VRAM then just change VRA...
by Stef
Mon Feb 18, 2019 5:23 pm
Forum: SGDK
Topic: General questions
Replies: 9
Views: 872

Re: General questions

Oh no you can't use 32 tiles mode if you need to do scrolling then, both plan A and B share the same tilemap size and plan B need more than 32 tiles here as you still has the left 8 tiles even if hidden by plan A.