Search found 129 matches

by Optiroc
Thu Jan 11, 2018 1:50 am
Forum: SNESdev
Topic: new bsnes-plus debugging features
Replies: 39
Views: 22826

Re: new bsnes-plus debugging features

There's some build issues on Windows with QT5; I was able to hack around most of them but the big one is that QT for mingw doesn't support Qt's WebEngine at all. I replaced the QWebEngine use in the console with the QTextEdit from the original and it works! I am noticing some massive slowdowns when...
by Optiroc
Wed Jan 10, 2018 9:37 am
Forum: SNESdev
Topic: new bsnes-plus debugging features
Replies: 39
Views: 22826

Re: new bsnes-plus debugging features

optiroc: does your branch still work on other platforms? (when building from source, no need for binaries) I'm interested in making some fixes/tweaks to the debugger; wondering to which repo I should send pull requests :) I haven’t tried in a good while, but I see no reason it shouldn’t compile wit...
by Optiroc
Fri Jan 05, 2018 4:50 am
Forum: SNESdev
Topic: new bsnes-plus debugging features
Replies: 39
Views: 22826

Re: new bsnes-plus debugging features

I've merged these *awesome* additions, together with the latest changes from Revenenant and Undisbeliever, to my macOS branch. Pre-built binary here.
by Optiroc
Fri Nov 24, 2017 10:40 am
Forum: SNESdev
Topic: How to debug custom sd2snes fw? (Possible n00b question)
Replies: 9
Views: 6242

Re: How to debug custom sd2snes fw? (Possible n00b question)

Have you tried to get in touch with ikari_01 about it? I’m sure he’d be happy to help with getting this addition to a releasable state. He’s usually around in #snesdev on IRCNet.
by Optiroc
Sun Oct 22, 2017 9:31 am
Forum: SNESdev
Topic: VRAM: Byte address or word address?
Replies: 5
Views: 2811

Re: VRAM: Byte address or word address?

Except for the (damning!) fact that the VRAM data port register use word addressing, I see little reason to think about addresses in VRAM as word[n], when I think of any other address ever as byte[n].
by Optiroc
Mon Sep 18, 2017 11:20 pm
Forum: SNESdev
Topic: Plextona SNES
Replies: 21
Views: 8963

Re: Plextona SNES

I looked up information about the dec to hex converter, and it works by decreasing the 32-bit score by 100,000 and counting how many times it takes before being negative, then it does the same for each digit. Yeah this is a slow way of doing it. Not sure how to do 32-bit scores, but 16-bit scores c...
by Optiroc
Thu Jul 27, 2017 10:47 am
Forum: SNESdev
Topic: Snes game debugging/disassembling question. (memory address)
Replies: 8
Views: 3804

Re: Snes game debugging/disassembling question. (memory addr

Stack relative addressing takes the same number of cycles as non-aligned DP addressing, IIRC – so that's a good alternative since then you also get fast access to scratchpad RAM. But for "heap object" access, DP-relative addressing is quite elegant. Also, stack relative access is rather st...
by Optiroc
Wed Jun 07, 2017 1:34 am
Forum: SNESdev
Topic: Introducing the VeriSNES (FPGA-based SNES)
Replies: 307
Views: 204044

Re: Introducing the VeriSNES (FPGA-based SNES)

UPDATE: I just checked and it seems like these utilities already exist. :beer: I'll look into this more...not sure if there is a standard (i.e. most popular) one that most people use for patching SNES ROMs? Historically IPS was the dominant format and I'm sure there's still new translations/hacks r...
by Optiroc
Sat Jun 03, 2017 9:12 am
Forum: SNESdev
Topic: Keeping your eyes on the size
Replies: 11
Views: 10089

Re: Keeping your eyes on the size

Great stuff! And challenge accepted!
by Optiroc
Sun May 21, 2017 12:57 pm
Forum: SNESdev
Topic: Alternative assembler recommendations?
Replies: 42
Views: 12979

Re: Alternative assembler recommendations?

Wow, I just skimmed through the documentation and have to say that there's certainly much to love about 64tass. I'll have to play around with it a bit for SNES use. Really, the only thing I like about ca65 is that there's as of yet nothing I could think of that its macro language can't accomplish – ...
by Optiroc
Sat May 20, 2017 11:32 pm
Forum: SNESdev
Topic: Alternative assembler recommendations?
Replies: 42
Views: 12979

Re: Alternative assembler recommendations?

Nicole wrote:
Optiroc wrote:According to the manual ".addr" is an alias for ".word", so if true using it should yield the same overflow error.
Only for 6502, it says.
:oops: I should be more careful about posting two minutes after being forced out of bed...
by Optiroc
Sat May 20, 2017 10:21 pm
Forum: SNESdev
Topic: Alternative assembler recommendations?
Replies: 42
Views: 12979

Re: Alternative assembler recommendations?

I use the ".loword" directive to get the correct bytes into the vector tables, like so.

According to the manual ".addr" is an alias for ".word", so if true using it should yield the same overflow error.
by Optiroc
Fri May 19, 2017 11:52 pm
Forum: SNESdev
Topic: Alternative assembler recommendations?
Replies: 42
Views: 12979

Re: Alternative assembler recommendations?

One more useful feature that I forgot to mention: The ability to generate a symbol file for debugging purposes. ca65's linker (ld65) can output a pretty nice symbol file with the `-Ln` option. While trying to get various mapping types correct I've also found use for the `-m` and `-vm` options (expo...
by Optiroc
Fri May 19, 2017 3:37 am
Forum: SNESdev
Topic: Please help consolidate all info for pixel artists for SNES
Replies: 46
Views: 19889

Re: Please help consolidate all info for pixel artists for S

I couldn't see it mentioned here so far, yet it's one of the most important things to realize for pixel artists targeting the SNES:

Pixel Aspect Ratio = 8:7
(for normal resolutions on NTSC display)
by Optiroc
Thu May 18, 2017 12:44 am
Forum: SNESdev
Topic: Please help consolidate all info for pixel artists for SNES
Replies: 46
Views: 19889

Re: Please help consolidate all info for pixel artists for S

There's a YouTube series that sets out to visually explain most graphical features of the SNES: RetroGameMechEX. It's far from finished at the moment of writing, but here's a timestamped link to a section explaining how palettes work.