Search found 1351 matches

by calima
Sun May 09, 2021 10:07 am
Forum: Newbie Help Center
Topic: Calculating negative of 3 byte constants
Replies: 3
Views: 315

Re: Calculating negative of 3 byte constants

ca65's third byte operator is ^.
by calima
Sat May 08, 2021 10:50 am
Forum: Newbie Help Center
Topic: cc65 codegen
Replies: 11
Views: 442

Re: cc65 codegen

Follow the cc65 docs and wiki, they have lots of optimization tips. E.g. your code still uses stack variables.
by calima
Fri May 07, 2021 11:10 pm
Forum: NESdev
Topic: About patching ROM
Replies: 1
Views: 257

Re: About patching ROM

You want to write a 6502 program that runs on a modern computer, accessing files. As it happens you can. The sim65 target of cc65 allows you to do so. C-side you should have normal stdin, stdout and FILEs (I've only used stdin and stdout). You can access those via asm as well, though you'd need to l...
by calima
Fri May 07, 2021 10:50 pm
Forum: NES Hardware and Flash Equipment
Topic: A hypothetical MMC3-like mapper without a CPLD
Replies: 4
Views: 385

Re: A hypothetical MMC3-like mapper without a CPLD

Is this just for fun, or do you expect it to be significantly cheaper than the current mmc3 boards?
by calima
Fri May 07, 2021 12:05 am
Forum: General Stuff
Topic: C optimizations?
Replies: 2
Views: 387

Re: C optimizations?

A C-level optimization is making sure everything is aligned and writing in 64-bit units.
by calima
Wed May 05, 2021 12:33 am
Forum: NESdev
Topic: FDS header date fields
Replies: 37
Views: 14019

Re: FDS header date fields

- FDSStick has rather "canned" read/write routines. You could potentially make this access OOB data if you felt like it. Or play with pulse widths and see how much you can theoretically squeeze on there. ... Strictly a pet project for my own amusement. If there's other stuff you'd want it to do, I'...
by calima
Sun May 02, 2021 12:04 am
Forum: SNESdev
Topic: Need guidance with nes to snes.
Replies: 286
Views: 52695

Re: Need guidance with nes to snes.

From the description where xba fixed things, you weren't clearing the high A byte. Switching to 8-bit mode does *not* clear high A, so if something else happened to be there, you just added 0x1 (0x100) to a random value.
by calima
Sat May 01, 2021 12:42 am
Forum: General Stuff
Topic: Zelda II - The Adventure of Link... SUCKED
Replies: 28
Views: 2714

Re: Zelda II - The Adventure of Link... SUCKED

Ocarina isn't laggy because Nintendo understands variable FPS is bad, and locks the FPS to what they can consistently achieve. This is why Paper Mario is 30fps even though most scenes in it could do 60. Low fps is not as annoying as variable, but it's still annoying, and for both Ocarina and PM I do...
by calima
Sat May 01, 2021 12:14 am
Forum: NES Graphics
Topic: Imogia's 8-bit art packs
Replies: 1
Views: 682

Re: Imogia's 8-bit art packs

His hair flips between the up and down states :P
by calima
Fri Apr 30, 2021 12:15 am
Forum: General Stuff
Topic: Zelda II - The Adventure of Link... SUCKED
Replies: 28
Views: 2714

Re: Zelda II - The Adventure of Link... SUCKED

Majora's FPS is clearly better than Ocarina's, even with better graphics, so it's clear Ocarina was just badly optimized.
by calima
Thu Apr 29, 2021 12:25 am
Forum: General Stuff
Topic: Zelda II - The Adventure of Link... SUCKED
Replies: 28
Views: 2714

Re: Zelda II - The Adventure of Link... SUCKED

I find all Mario and Zelda boring, though I did like Ocarina's Water temple :lol:
/the majority taste is so bad
by calima
Mon Apr 26, 2021 10:28 am
Forum: NESdev
Topic: 96kb FPS
Replies: 8
Views: 1782

Re: 96kb FPS

I haven't looked. Ed64 has a SD card API, N8 (/pro) likely has something similar. Dig around in krikzz.com/pub.

edit: Remembered the Mega Everdrive Pro's video player also uses a similar API to access huge files.
by calima
Mon Apr 26, 2021 12:22 am
Forum: NESdev
Topic: 96kb FPS
Replies: 8
Views: 1782

Re: 96kb FPS

Plus that doesn't make any sense: if you're targeting the Everdrive, you can already access gigabytes.
by calima
Sun Apr 25, 2021 12:48 am
Forum: SNESdev
Topic: SNES programming Videos
Replies: 37
Views: 12616

Re: SNES programming Videos

I did a live stream video yesterday but the sound quality was echoing, so I'll just post some stuff I mentioned. -At one part you accidentally wrote $201a instead of $210a. -lda #$01, sta $420d before setting up anything else would only work if data bank is $00 and A register is 8-bit at reset, whi...
by calima
Sun Apr 25, 2021 12:45 am
Forum: NESdev
Topic: 96kb FPS
Replies: 8
Views: 1782

Re: 96kb FPS

Sure, but it would take an eternity in loading times. Even that had long loading times on a PC. It would also require a board with tons of banked CHR RAM and RAM, otherwise you'd get those loading times every level/whatever. A roughly comparable scenario is very advanced compression. Someone used rA...