ROM Hack City:Sandbox
Talk0this wiki
This sandbox is a playground where you can try to edit this wiki page. You can put your experiments and your tests in this sandbox.
You can use this sandbox to verify that wiki does work! Click "Edit", then make some additions or changes below, then click "Save"! Your changes will appear in the saved page!
Hi.
- Hello. It's-a me, Mario!
- Hi there.
- How do I say "hello" in Japanese?
- Hi there.
So this is a new sandbox. We need some ideas for sandcastles.
- Portland Pattern Repository's WikiWikiSandbox is the original wiki sandbox, but they use a different kind of sand.
- Central Wikia Sandbox is a sandbox, but someone likes to walk on all their sandcastles, so their box normally looks fresh and empty.
- Wikihack Sandbox, at the NetHack Wiki, has a large number of sand monsters!
|> |>
| |
:::::: ::::: ::::: ::::::
:::::: ::::: ::::: ::::::
:::::: ::::: ::::: ::::::
:::::::::::::::::::::::::::::::::::::
:::::::::::::::::***:::::::::::::::::
::::::::::::::::*****::::::::::::::::
::::::::::::::::*****::::::::::::::::
::::::::::::::::*****::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::
This is why assembly hacking is difficult. We write too much silly and useless code. Consider this 65816 code that copies bytes from the SPC-700 to the save-RAM; why would anyone do this?
;; Relay bytes from the uploaded program to save-RAM. ;; * APU0 => index ;; * APU1 => byte ;; * APU2, APU3 => 16-bit address in bank $70 ;; * index => APU0 to acknowledge ;; ;; The first index is one more than the index that terminated ;; the upload. ;; inc a sta $00 ; RAM $00 = first index lda #$70 sta $03 ; RAM $03 = bank for [$01] - lda APU0 cmp $00 bne - ; wait for next index ldx APU2 stx $01 lda APU1 sta [$01] ; relay byte lda $00 sta APU0 ; echo index to acknowledge inc a sta $00 ; increment index bra -
Sandbox, part 2
Edit
To be continued...
Sandbox, part 3
Edit
Now is the time to hack the wiki with HTML and CSS.
Bitplanes.
When you have four numbers,
like 35 103 29 210,
and you write them in binary,
like %00100011, %01100111, %00011101, %11010010,
and then you box them,
like
%00100011
%01100111
%00011101
%11010010
and then you put together the digits in each place,
like %0001, %0101, %1100, %0011,
%0010, %0110, %1101, %1110,
and then you make bytes,
like %00010101, %11000011, %00100110, %11011110,
so you made bitplanes,
like 21, 195, 38, 222.
I might want to read this.
I might want to learn those CSS properties.
Added by KernighThis is a box.
This is a second paragraph in the box.
I eventually used the stuff in this part of the sandbox to make Template:Hack and related templates. --Kernigh 01:12, 16 August 2009 (UTC)
I want to try second box!
| Super Mario World | |
| licensed game for SNES | |
|
Creator |
Nintendo |
|
Base hack |
Super Mario Bros. 3 (NES) |
|
Cartridge | |
|
Versions | |
|
Community | |



Added by KernighThe second box lacks color. I want to try third box with more color!
| Super Mario World | |
| licensed game for SNES | |
|
Creator |
Nintendo |
|
Base hack |
Super Mario Bros. 3 (NES) |
|
Cartridge |
512 kilobytes in 16 LoROM banks |
|
2 kilobytes of save-RAM | |
|
Versions |
NTSC, America: Super Mario World (U) |
|
NTSC, Japan: Super Mario World - Super Mario Bros. 4 (J) | |
|
PAL, Europe: Super Mario World (E) | |
|
Community | |
Here is a fourth box, like the third but with less stuff in the table.
The fourth box is less wide than what I want.
Sandbox address map
Edit
|
Size |
Description | |
|
$123456 |
7 bytes |
This is a table of the offsets to the seven plot coupons within the plot coupon area. Swap the table entries to change the order of the plot coupons in the game. |
|
$12345d |
2 bytes |
Number of points when you collect a plot coupon. |