Skip to content

Commit

Permalink
Workaround: gaps in C64 memory map caused problems when emulating 650…
Browse files Browse the repository at this point in the history
…2 code.
  • Loading branch information
uxmal committed Aug 12, 2024
1 parent c941db6 commit 9e665d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Core/Serialization/Project_v2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace Reko.Core.Serialization
{
public class Script_v2
{
[XmlAttribute]
[XmlAttribute("enabled")]
public bool Enabled;

[XmlAttribute]
Expand Down
6 changes: 3 additions & 3 deletions src/Environments/C64/C64.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[[reko::segment("0000", "zero_page", 0x0100, "rwx", "Zero page")]]
[[reko::segment("0000", "low_memory", 0x0400, "rwx", "Low memory")]]

// 6510 CPU's data direction I/O port register; 0 = input, 1 = output

Expand All @@ -23,8 +23,8 @@
// Bit 7 - Undefined

// Yes, some C64 programs put executable code in the stack page...
[[reko::segment("0100", "stack_page", 0x0100, "rwx", "Stack page")]]
[[reko::segment("0200", "os_data", 0x0200, "rw")]]
// [[reko::segment("0100", "stack_page", 0x0100, "rwx", "Stack page")]]
// [[reko::segment("0200", "os_data", 0x0200, "rw")]]
[[reko::segment("0400", "screen", 0x0400, "rw")]]

[[reko::segment("A000", "basic_ROM", 0x2000, "rx")]]
Expand Down
6 changes: 3 additions & 3 deletions subjects/regression.log

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e665d4

Please sign in to comment.