Search found 1192 matches

by calima
Sun Sep 27, 2020 10:37 am
Forum: Newbie Help Center
Topic: CC65 how to optimize 16 bit variable assignment?
Replies: 6
Views: 110

Re: CC65 how to optimize 16 bit variable assignment?

This specific case looks like you're saving the previous Y before moving the player. Aka you could move it out of the per-player loop and do a single memcpy before the loop. Then, if memcpy is too slow, fully unrolled manual copies.
by calima
Fri Sep 25, 2020 12:03 am
Forum: Newbie Help Center
Topic: Sprites are jittery when moving, not moving smoothly
Replies: 13
Views: 345

Re: Sprites are jittery when moving, not moving smoothly

Please read the docs of those two functions. The very point of ppu_wait_frame is to delay NTSC to PAL rates.
by calima
Wed Sep 23, 2020 9:51 am
Forum: NESemdev
Topic: Photo-Sensitive Epilepsy Safe NES/SNES Emulation?
Replies: 4
Views: 194

Re: Photo-Sensitive Epilepsy Safe NES/SNES Emulation?

It'd be very simple to do at the image level, though only for large areas flashing. 1. Grayscale the image 2. Repeatedly downscale it in half, until you only have one pixel left. You now have the screen's average brightness 3. If the new frame changes enough pixels and is brighter enough, don't show...
by calima
Mon Sep 21, 2020 9:54 am
Forum: SNESdev
Topic: Non-MSU video player
Replies: 19
Views: 605

Re: Non-MSU video player

Draw a horizontal line, and add 60fps points above and 24fps points below. Perhaps visualizing it like that makes it clear.

No ready program, you'll have to get your hands dirty ;) Unless you meant cinepak natively? In that case there's plenty of media players and encoders.
by calima
Mon Sep 21, 2020 1:10 am
Forum: SNESdev
Topic: Non-MSU video player
Replies: 19
Views: 605

Re: Non-MSU video player

frames 0-1: upload frame A frame 2: upload end of frame A, and beginning of frame B. frames 3-4: upload rest of frame B. No, it doesn't work like that. You can't upload the end of frame A at frame 2 if the timing happens to be such you already had to display it. And with only 64kb VRAM, you can't k...
by calima
Sun Sep 20, 2020 11:01 am
Forum: SNESdev
Topic: Non-MSU video player
Replies: 19
Views: 605

Re: Non-MSU video player

24fps is not evenly dividing 60fps, so you will run into the 5kb vblank limit per frame. 24fps -> you'll sometimes have two and sometimes three frames to upload the next one. Unless your demo is for PAL, where the 50hz aligns better and increased vblank lets you upload enough in two frames. superfam...
by calima
Thu Sep 17, 2020 2:02 am
Forum: SNESdev
Topic: snescom demo wont compile on windows
Replies: 5
Views: 262

Re: snescom demo wont compile on windows

This doesn't help your issue, but you should know ca65 is "production ready" quality on the SNES, while wla-dx has many reported problems, and I've never even heard of snescom.
by calima
Thu Sep 10, 2020 9:56 am
Forum: NES Hardware and Flash Equipment
Topic: Final Fantasy V (Yancheng cy2000-3 PCB, mapper 164)
Replies: 5
Views: 972

Re: Final Fantasy V (Yancheng cy2000-3 PCB, mapper 164)

:shock:
Even for China stuff, that's some ripping. Title screen from Dark Cloud, world graphics from GBC Zelda, and battle graphics look like that GB pokemon clone where you used a phone to summon monsters.
by calima
Thu Sep 10, 2020 12:57 am
Forum: NES Hardware and Flash Equipment
Topic: Final Fantasy V (Yancheng cy2000-3 PCB, mapper 164)
Replies: 5
Views: 972

Re: Final Fantasy V (Yancheng cy2000-3 PCB, mapper 164)

Screenshots? This game doesn't have a page on bootleggames, only a single-line mention.
by calima
Thu Sep 10, 2020 12:56 am
Forum: NES Hardware and Flash Equipment
Topic: Can't Get Battery Saved SNES Games To Work Or Save With Muramasa PCB Boards
Replies: 7
Views: 929

Re: Can't Get Battery Saved SNES Games To Work Or Save With Muramasa PCB Boards

Patching out copy protection is very skilled work. You might be able to find a readymade patch somewhere. Easier to fix your board (if you had used a larger SRAM, you could make it smaller by grounding the high address legs, etc).
by calima
Wed Sep 09, 2020 10:52 am
Forum: SNESdev
Topic: Rem Demo
Replies: 60
Views: 4490

Re: Rem Demo

I don't think you could draw that boss via the window. Isn't it limited to one continuous area? The legs and the hanging head would have two or three.
by calima
Wed Sep 09, 2020 10:45 am
Forum: General Stuff
Topic: Anyone have any luck dumping Campus Challenge 1991?
Replies: 4
Views: 961

Re: Anyone have any luck dumping Campus Challenge 1991?

So since we have a md5sum and the sizes, you can start trying every possible byte combination until it matches :mrgreen:

If you're lucky, you get a working ROM immediately. Otherwise until the heat death.
by calima
Wed Sep 09, 2020 12:12 am
Forum: Newbie Help Center
Topic: Simplify long, repetitive code.
Replies: 35
Views: 6806

Re: Simplify long, repetitive code.

The point of separate LO and HI is that they are separate. You interleaved them. (that's not why the code doesn't work, but it's wasteful for you to go to the trouble...) edit: at least 128*2 will overflow. edit 2: The way you kept all the unneeded labels makes it look like it's an attempt at separa...
by calima
Wed Sep 09, 2020 12:09 am
Forum: SNESdev
Topic: Rem Demo
Replies: 60
Views: 4490

Re: Rem Demo

Unlike PAL60, NTSC50 is not a standard and almost no TV can display it properly.