Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Snake

Reply to topic
Author Message
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Snake
Post Posted: Fri Feb 26, 2021 5:02 am
Last edited by under4mhz on Tue Apr 20, 2021 2:53 am; edited 1 time in total
Play the classic snake game. Collect the apples and bonus rodents and avoid the walls.
SnakeSMS-3.png (2.92 KB)
SnakeSMS-3.png
SnakeSMS.png (1.06 KB)
SnakeSMS.png
SnakeSMS-2.png (1.28 KB)
SnakeSMS-2.png
screenshot1.png (4.33 KB)
screenshot1.png
screenshot2.png (1.48 KB)
screenshot2.png
screenshot4.png (1.62 KB)
screenshot4.png
Snake-SMS-1.00.zip (11.89 KB)
Snake-SG-1.05.zip (20.05 KB)

  View user's profile Send private message Visit poster's website
Revo
  • Guest
Reply with quote
Post Posted: Fri Feb 26, 2021 12:59 pm
Thank you!

Pages created:

https://www.smspower.org/Homebrew/Snakeb-SG
https://www.smspower.org/Homebrew/Snake-SMS
 
Revo
  • Guest
Reply with quote
Post Posted: Fri Feb 26, 2021 4:43 pm
Btw, I don't think your games work on real hardware, I tried with the chinese everdrive and also by burning an eprom to a Super Tennis, always the same result, garbage everywhere. Tried on SMS 1 and 2.

 
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Mon Mar 01, 2021 3:26 am
Thanks for the feedback. I don't have any real hardware. Would you mind giving this version a try?
Snake-SMS-1.01.zip (16.11 KB)

  View user's profile Send private message Visit poster's website
Revo
  • Guest
Reply with quote
Post Posted: Mon Mar 01, 2021 11:02 am
A bit better, but still full of garbage screen.. Same for SG-1000 versions.
 
  • Joined: 09 Dec 2013
  • Posts: 228
  • Location: detroit
Reply with quote
Post Posted: Mon Mar 01, 2021 4:55 pm
Hi,
I'm pretty sure its caused by writing to vdp too fast (faster than vdp can handle it).

best regards,
- dink
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 3826
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Mon Mar 01, 2021 7:19 pm
yes, you're accessing VDP too quickly during screen draw phase
if you test it on Emulicious with Emulate VDP Constraints turned on you'll see exactly where it breaks (in the debugger window)
  View user's profile Send private message Visit poster's website
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Tue Mar 02, 2021 12:00 am
Unfortunately, this is a problem I'm having. It's working perfectly fine in Emulicious with the VDP constraints turned on.
snakescreenshot.png (31.82 KB)
snakescreenshot.png

  View user's profile Send private message Visit poster's website
  • Joined: 09 Dec 2013
  • Posts: 228
  • Location: detroit
Reply with quote
Post Posted: Tue Mar 02, 2021 1:06 am
under4mhz wrote
Unfortunately, this is a problem I'm having. It's working perfectly fine in Emulicious with the VDP constraints turned on.


I noticed the 49hz, how does it fare when you try with 60hz/ntsc?

best regards,
- dink
  View user's profile Send private message
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Tue Mar 02, 2021 1:54 am
Quote
I noticed the 49hz, how does it fare when you try with 60hz/ntsc?


Both speeds work correctly.
  View user's profile Send private message Visit poster's website
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Tue Mar 02, 2021 2:20 am
I've added a few more no-ops into my vram copy routine(s). If someone could test this on real hardware again, I'd really appreciate it.
Snake-SMS-1.02.zip (16.11 KB)

  View user's profile Send private message Visit poster's website
  • Joined: 29 Mar 2015
  • Posts: 67
  • Location: Japan
Reply with quote
Post Posted: Tue Mar 02, 2021 2:40 am
The new build works on my Japanese SMS!

There are visual glitches when passing from the under4mhz logo to the title screen, and when passing from the title screen to the game, but otherwise it works fine. I have attached an animated gif showing this.
GIFイメージ.gif (910.29 KB)
GIFイメージ.gif

  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3826
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Tue Mar 02, 2021 10:32 am
under4mhz wrote
Unfortunately, this is a problem I'm having. It's working perfectly fine in Emulicious with the VDP constraints turned on.


if you open the debugger and set "break on invalid VDP access" in breakpoints window, you'll see that there are some places where you violate the safe VDP timing

this means that it *may* break - but depends on the specific timing
  View user's profile Send private message Visit poster's website
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Tue Mar 02, 2021 11:14 pm
Last edited by under4mhz on Tue Mar 02, 2021 11:15 pm; edited 1 time in total
raphnet wrote
The new build works on my Japanese SMS!

There are visual glitches when passing from the under4mhz logo to the title screen, and when passing from the title screen to the game, but otherwise it works fine. I have attached an animated gif showing this.


Great. Thanks for your help.

I'm not sure what could be causing the glitch. The name table should be cleared to 0.
  View user's profile Send private message Visit poster's website
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Tue Mar 02, 2021 11:15 pm
sverx wrote
if you open the debugger and set "break on invalid VDP access" in breakpoints window, you'll see that there are some places where you violate the safe VDP timing

this means that it *may* break - but depends on the specific timing


Thanks. I had no idea that was there. It did break on the problem.
  View user's profile Send private message Visit poster's website
  • Joined: 14 Apr 2013
  • Posts: 624
Reply with quote
Post Posted: Thu Mar 04, 2021 5:53 pm
Hi under4mhz,

I just released a minor update of Emulicious that manages to replicate the issue you ran into with your original version. Sorry for the inconvenience!
New version looks fine now. :)
Snake-SMS-1.00.png (6.11 KB)
Snake-SMS-1.00.png
Snake-SMS-1.02.png (3.02 KB)
Snake-SMS-1.02.png

  View user's profile Send private message Visit poster's website
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Fri Mar 05, 2021 5:19 am
Awesome. Thanks.
  View user's profile Send private message Visit poster's website
  • Joined: 09 Dec 2013
  • Posts: 228
  • Location: detroit
Reply with quote
Post Posted: Sun Apr 11, 2021 12:59 am
This is probably the best version of the game I'd ever played, thank you :)

I have a suggestion for the MSX version: it would be helpful if the rom was zero-padded to 16k, romsize should always be clean power of 2 for this system.

best regards,
- dink
  View user's profile Send private message
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Tue Apr 13, 2021 12:51 am
Thanks. I'll make sure I'll do that. I've been spoiled by ihx2sms which does the padding automatically.
  View user's profile Send private message Visit poster's website
  • Joined: 23 May 2020
  • Posts: 7
  • Location: Finland
Reply with quote
Post Posted: Mon Apr 19, 2021 4:26 pm
I burned the game to eeprom and tried it with the Sega SC-3000. Only title screen appears and then nothing.
  View user's profile Send private message
  • Joined: 17 Jan 2020
  • Posts: 118
  • Location: Brisbane, AU
Reply with quote
Post Posted: Tue Apr 20, 2021 2:52 am
To my shame, I didn't implement SC-3000 keyboard support.

Find a new version attached with keyboard support.
Snake-SG-1.05.zip (20.05 KB)

  View user's profile Send private message Visit poster's website
  • Joined: 23 May 2020
  • Posts: 7
  • Location: Finland
Reply with quote
Post Posted: Tue Apr 20, 2021 2:40 pm
Thanks, works now!
  View user's profile Send private message
  • Joined: 28 Apr 2021
  • Posts: 1
Reply with quote
sega snake
Post Posted: Wed Apr 28, 2021 8:12 pm
Revo wrote
A bit better, but still full of garbage screen.. Same for SG-1000 versions.


sega snake is best nostalji
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!