Search found 7 matches

by Sarasaworks
Fri Aug 09, 2024 6:44 pm
Forum: Development Tools
Topic: ASMEDIT X16 - 65C02 Assembler and Editor Software
Replies: 31
Views: 23171

Re: ASMEDIT X16 - 65C02 Assembler and Editor Software

I'm trying to load ASMEDIT into the editor via: sarasaworks$ ./x16/x16emu -prg ASMEDIT.PRG -run But instead of running, it either loads to a discombobbled emulator screen or into the monitor with the following readout: B* PC: 9F0B RA: 03 RO: 00 AC: 01 XR: CC YR: 00 SP: 01 Flags: ..***.** The one tim...
by Sarasaworks
Tue Jul 09, 2024 8:39 pm
Forum: CX16 Hardware Support
Topic: User Defined Palletes
Replies: 5
Views: 1117

Re: User Defined Palletes

Ed Minchau wrote: Tue Jul 09, 2024 6:19 pm That two byte stride should be one byte. You need to push two bytes (ggggbbbb 0000rrrr) for a single palette entry.
Good call! Thanks! I edited my code accordingly :D :)
by Sarasaworks
Tue Jul 09, 2024 6:50 am
Forum: CX16 Hardware Support
Topic: User Defined Palletes
Replies: 5
Views: 1117

Re: User Defined Palletes

So, after a few videos and deciphering how to manipulate VERA and VRAM, this was my conclusion: stz $9f25 ; Select VRAM Data Bus Zero lda #$00 ; Low Byte, 17bit VRAM address ($1FA00) sta $9f20 lda #$fa ; Mid Byte, 17bit VRAM address sta $9f21 lda #$11 ; High Bit, 17bit VRAM address + 1 byte stride s...
by Sarasaworks
Sun Jul 07, 2024 7:39 am
Forum: CX16 Hardware Support
Topic: User Defined Palletes
Replies: 5
Views: 1117

Re: User Defined Palletes

I just know that defining palettes on the NES is as simple as:
P0: 
.byte $00, $03, $42, $D3

P1: 
.byte $00, $01, $02, $03
And then sending them to the proper PPU address... Was looking for something similar.

I'll look at the BASIC file in a bit. Don't have a reader on my phone.
by Sarasaworks
Sun Jul 07, 2024 3:51 am
Forum: CX16 Hardware Support
Topic: User Defined Palletes
Replies: 5
Views: 1117

User Defined Palletes

I am playing with tiles and sprites at the moment, but where I am struggling is defining a set of palettes. I saw a small section on palettes in the VERA docs. It shows how the colors are defined, but not how to compile those colors into usable/swappable 16 color palettes that can be sent to VRAM. I...
by Sarasaworks
Fri Jul 05, 2024 10:03 am
Forum: Introductions
Topic: Hello, from Aberdeen, NC
Replies: 1
Views: 876

Hello, from Aberdeen, NC

My name is Rock, and I am happy to be able to follow such an epic project. I have been seeking a robust way to teach my daughter, Sakura how to write for the 6502 for a while. Hovering over the Apple ][ series and the NES as options for her startingpoint. Spending time in the documentation and playi...