Skip to content

Commit

Permalink
Fix Readme's contain incorrect code. #7
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenbakker-atmind committed Feb 21, 2025
1 parent 50c819f commit e75d69f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions c64-assembler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use c64_assembler::builder::InstructionBuilder;

let application = ApplicationBuilder::default()
.name("Set black border")
.add_vic20()
.include_vic2_defines()
.module(
ModuleBuilder::default()
.name("main")
Expand All @@ -44,7 +44,7 @@ let application = ApplicationBuilder::default()
.label("main_entry_point")
.lda_imm(0x00)
.comment("Load black color")
.sta_addr("VIC20_BORDER_COLOR")
.sta_addr("VIC2_BORDER_COLOR")
.rts()
.build(),
)
Expand Down Expand Up @@ -82,7 +82,7 @@ println!("{}", source);
processor 6502
VIC20_BORDER_COLOR = $D020
VIC2_BORDER_COLOR = $D020
org $0800
Expand All @@ -94,7 +94,7 @@ VIC20_BORDER_COLOR = $D020
main_entry_point:
lda #$00 ; Load black color
sta VIC20_BORDER_COLOR
sta VIC2_BORDER_COLOR
rts
```

Expand All @@ -118,7 +118,7 @@ let application = application!(
main_entry_point:
"Load black color into accumulator"
lda #$00
sta VIC20_BORDER_COLOR
sta VIC2_BORDER_COLOR
rts
)
)
Expand All @@ -139,6 +139,8 @@ We welcome contributions! To get started:

3. Make your changes and submit a pull request.

TIP: Create an issue first, for discussing of getting guidance.

## License

This project is licensed under the GPL-3.0-or-later.
Expand Down

0 comments on commit e75d69f

Please sign in to comment.