Program name: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) No edit summary |
Puppydrum64 (talk | contribs) m (→{{header|68000 Assembly}}: Added sample output) |
||
Line 14: | Line 14: | ||
{{works with|NEOGEO}} |
{{works with|NEOGEO}} |
||
The name of the game is stored on the cartridge at memory address $000200. It is exactly 16 characters and is padded with spaces (ASCII 32). Since there is no null terminator after this string, use its size to terminate a printing loop. |
The name of the game is stored on the cartridge at memory address $000200. It is exactly 16 characters and is padded with spaces (ASCII 32). Since there is no null terminator after this string, use its size to terminate a printing loop. |
||
<lang 68000devpac>LEA softDips_USA,A3 |
|||
JSR PrintString (my print routine is 255-terminated and there just so happens to be an FF after the name of the game.)</lang> |
|||
;Output |
|||
[[https://ibb.co/4jNm7TW Ninja Adventure]] |
|||
=={{header|AArch64 Assembly}}== |
=={{header|AArch64 Assembly}}== |