Skip to content

Instantly share code, notes, and snippets.

For the clock times within this section, if a single value is given, it represents the number of clock cycles in single-speed (4.194304 MHz) mode (e.g. a nop is 4 clocks), while the number of clocks in double-speed mode is both unknown and unassumed. If two values are given, they represent first the clocks in single-speed mode and second the clocks in double-speed (8.388608 MHz) mode (e.g. a nop is 4/4 clocks; an HDMA transfer is 32/64 clocks).

Scanline Timing

A single scanline is 456/908 clocks.

By AntonioND's tests in section 8, Mode 2 (OAM search) consistently takes 80/160 clocks.

By Kevtris' tests, Mode 3 (data transfer) takes 173.5 clocks at a minimum (clocks in double-speed mode unknown since this involves non-CPU communication).

@Bevinsky
Bevinsky / jcmplocations
Last active December 31, 2015 19:09
A list of game locations in JC2MP. This list is both incomplete and inaccurate (the location vectors are often off by a bit, sometimes even up to 200), but it's the best I could get from the game files. Locations marked NULL are ones I could not even find in-game. If people could verify/correct the existing locations and add the missing ones, I …
The list is formatted as "id|location type|name|vector2", where location type is one of the following:
* 0: Settlement
* 1: Military base
* 2: City
* 3: Comm outpost
* 4: Harbor
* 5: Airport
* 6: Oil rig
* 7: Faction stronghold