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 - Fullscreen video playback on Sega Master System

Reply to topic Goto page Previous  1, 2, 3, 4
Author Message
  • Joined: 29 Mar 2012
  • Posts: 537
  • Location: Spain
Reply with quote
Post Posted: Thu Dec 19, 2019 9:04 am
That's nice to know! :-D I'm quite willing to buy one for developing
  View user's profile Send private message
  • Joined: 04 Jul 2010
  • Posts: 267
  • Location: Angers, France
Reply with quote
Post Posted: Thu Dec 19, 2019 9:16 am
I'm also thinking of a pseudo real dev cart.
With only sram (or a very fast programming flash) + usb2 upload
(more or less one of my last pcb + my dumper in a cart - 14s to flash 32Mbits)
  View user's profile Send private message
  • Joined: 29 Mar 2012
  • Posts: 537
  • Location: Spain
Reply with quote
Post Posted: Thu Dec 19, 2019 9:30 am
That would be also fantastic (although I'll probably get one dev cart, an one "normal" one, just to test).
  View user's profile Send private message
  • Joined: 14 Apr 2013
  • Posts: 489
Reply with quote
Post Posted: Thu Dec 19, 2019 9:03 pm
After padding the rom it also works in an Everdrive. I have attached the padded file. :)

  View user's profile Send private message Visit poster's website
  • Joined: 29 Mar 2012
  • Posts: 537
  • Location: Spain
Reply with quote
Post Posted: Thu Dec 19, 2019 10:32 pm
Thanks Calindro! I'll try on the real machine this weekend! :-D
  View user's profile Send private message
  • Joined: 26 Jan 2014
  • Posts: 496
Reply with quote
Post Posted: Fri Dec 20, 2019 12:00 pm
But it's not working on Emulicious?
  View user's profile Send private message Visit poster's website
  • Joined: 29 Mar 2012
  • Posts: 537
  • Location: Spain
Reply with quote
Post Posted: Fri Dec 20, 2019 12:13 pm
Both worked, just be sure to be at 50hz
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 2560
Reply with quote
Post Posted: Fri Dec 20, 2019 3:30 pm
Maxim wrote
Everdrive OS (at least the 1MB version) rounds ROM sizes down to the next lowest multiple of 64KB, if greater then 64KB.


So it means an 80KB ROM will only be partially read from SD and to make it read it correctly the file needs to be padded to 128KB?
What if it's smaller than 64KB? I mean, will 16KB/32KB/48KB ROM works? And what if it's some size in between, as 42KB?

(sorry I can't test that myself before some months...)
  View user's profile Send private message Visit poster's website
  • Joined: 14 Apr 2013
  • Posts: 489
Reply with quote
Post Posted: Fri Dec 20, 2019 3:40 pm
Last edited by Calindro on Fri Dec 20, 2019 3:41 pm; edited 1 time in total
sverx wrote
Maxim wrote
Everdrive OS (at least the 1MB version) rounds ROM sizes down to the next lowest multiple of 64KB, if greater then 64KB.


So it means an 80KB ROM will only be partially read from SD and to make it read it correctly the file needs to be padded to 128KB?
What if it's smaller than 64KB? I mean, will 16KB/32KB/48KB ROM works? And what if it's some size in between, as 42KB?

(sorry I can't test that myself before some months...)

As I said, it depends on the version of the Everdrive OS.
There are at least 2 different ways of it being handled in the available OSes.
For best compatibility with every version of the Everdrive OS and also every emulator it's best to pad to the next power of 2.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 13025
  • Location: London
Reply with quote
Post Posted: Fri Dec 20, 2019 3:40 pm
From memory, it operates on 64KB chunks. It will copy max(floor(size/64K), 1) chunks to NOR.
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 2560
Reply with quote
Post Posted: Fri Dec 20, 2019 5:30 pm
and here's why (from Master EverDrive OS v6 "prog.c" source)

[...]
    if (len < 65536) len = 65536;
[...]
    vdpDrawConsStr("erase...", PAL1);
    vdp_repaint();
    len >>= 16;
    eprErase(0x100000, len);
    len <<= 16;
    vdpDrawConsStr("write...", PAL1);
    vdp_repaint();
[...]


so that's where the "minimum of 64KB" and "floor multiple of 64KB" comes from
  View user's profile Send private message Visit poster's website
Reply to topic Goto page Previous  1, 2, 3, 4



Back to the top of this page

Back to SMS Power!