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 - counters/timers

Reply to topic
Author Message
  • Joined: 14 Mar 2018
  • Posts: 19
Reply with quote
counters/timers
Post Posted: Wed Apr 04, 2018 10:40 am
Looking at some of the docs ( RTW's doc for example ) there doesn't seem to be any counters or timers on the system? Or is there something that can be used to effectively get one?
I guess the refresh counter on the Z80 counts "instructions" and not "clocks" right?
  View user's profile Send private message
  • Joined: 25 Feb 2006
  • Posts: 864
  • Location: Belo Horizonte, MG, Brazil
Reply with quote
Post Posted: Wed Apr 04, 2018 11:10 am
The only timer-like stuff the SMS has would be the VBL interrupt.
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3769
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Wed Apr 04, 2018 12:17 pm
depending on the resolution needed, you could either use VBL, HBL ... or none. No real counters/timers are present in the hardware.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14691
  • Location: London
Reply with quote
Post Posted: Wed Apr 04, 2018 1:34 pm
And the r register is rarely used for more than a PRNG seed, it can't count very high.
  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!