Debug DIPs: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Originaly set on devkit/devcart ?
Debug DIPs are like [[software DIPs]], but can't normally be changed by the player on any hardware. They are believed to have been originally mapped to real dipswitches on SNK devcarts.


"Developer mode" set in $10FE80.
They can be used to access various debug options in games such as [[job meter]]s, sprite viewers, parameters display, level selects...


Address of the debug dips (2 bytes) in the [[68k program header]]: $10E
They typically consist of 2 bytes stored in the [[68k user RAM]] at the address defined in the [[68k program header]] at $10E.


CD BIOS call $000582 clears first 2 bytes at $10E ?
The [[Universe BIOS|Unibios]], [[debug BIOS]] and some [[emulators]] allow setting them.


The [[Unibios]] and some [[emulators]] allow to set them. CD games have to be patched (search for byte or word reads at the address pointed by $10E).
The "Developer mode" is also enabled when {{BR|BIOS_DEVMODE}} is nonzero.
 
==Trivia==
 
CD BIOS call $000582 clears first 2 bytes at $10E (?)


[[http://www.neo-geo.com/wiki/index.php?title=Neo-Geo_Big_List_of_Debug_Dipswitches Debug DIPs effects list from neo-geo.com]]
[[http://www.neo-geo.com/wiki/index.php?title=Neo-Geo_Big_List_of_Debug_Dipswitches Debug DIPs effects list from neo-geo.com]]


[[Category:CPUs]]
[[Category:Base system]]

Latest revision as of 07:59, 23 January 2020

Debug DIPs are like software DIPs, but can't normally be changed by the player on any hardware. They are believed to have been originally mapped to real dipswitches on SNK devcarts.

They can be used to access various debug options in games such as job meters, sprite viewers, parameters display, level selects...

They typically consist of 2 bytes stored in the 68k user RAM at the address defined in the 68k program header at $10E.

The Unibios, debug BIOS and some emulators allow setting them.

The "Developer mode" is also enabled when BIOS_DEVMODE ($10FE80 ) is nonzero.

Trivia

CD BIOS call $000582 clears first 2 bytes at $10E (?)

[Debug DIPs effects list from neo-geo.com]