You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/part1/header.md
+1-7Lines changed: 1 addition & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,13 +122,7 @@ So the `jp` at $0100 went there, and started executing instructions (`3E CE` is
122
122
But why is `EntryPoint` there?
123
123
Well, as you may have figured out from the warnings RGBFIX printed, it *overwrites* the header area in the ROM.
124
124
However, RGBLINK is **not** aware of the header (because RGBLINK is not only used to generate ROMs!), so you must explicitly reserve space for the header area.
125
-
126
-
:::danger Common mistake
127
-
128
-
Forgetting to reserve this space, and having a piece of code or data ending up there then overwritten, is a common beginner mistake that can be quite puzzling.
129
-
Fortunately, RGBFIX since version 0.5.1 warns when it detects this mistake, as shown above.
130
-
131
-
:::
125
+
Forgetting to do so is a common beginner mistake — code or data can end up there and get silently overwritten, which RGBFIX will warn you about as shown above.
0 commit comments