Search found 161 matches

by supercat
Tue May 07, 2019 10:10 am
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

One practical problem with fusemap recompilation as a web service is that obtaining synthesis software for old Xilinx FPGAs, such as the one in the PowerPak, is a pain. For FPGAs, that's likely true, and I don't know what if anything can be done about that unfortunate situation. CPLD fusemaps tend ...
by supercat
Tue May 07, 2019 7:12 am
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

The NES was designed with a pretty versatile cartridge slot, and during the life of the console people designed not only software for the machine, but a multitude of hardware improvements to go along with the games as well. Mapper design has the potential to be pretty fun, provided you know what yo...
by supercat
Tue May 07, 2019 7:05 am
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

Sometimes people try to solve a technical problem with the NES using a custom mapper. The problem often takes this form: NES is just barely too weak for the application. Super NES is too strong, and players would expect production values that a solo or duo can't deliver on time and on a ramen budge...
by supercat
Mon May 06, 2019 12:42 pm
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

A significant number of Famiclones don't let you disable NTRAM. Is there a reliable way to test for these in software? Would it work, say, to write different values to $2000, $2400, $2800, and $2C00, and then try to read them all back? And if so, is there a reliable way to display a message if both...
by supercat
Mon May 06, 2019 12:21 pm
Forum: Newbie Help Center
Topic: The best way to jump (JMP or JSR) to a pointer?
Replies: 5
Views: 5719

Re: The best way to jump (JMP or JSR) to a pointer?

For how to call a function through a function pointer, see Jump table and RTS Trick in the wiki. If you can afford dedicating 3 bytes of RAM to a springboard, and have fewer than 86 jump targets, have a page-aligned table of JMP instructions to each target, and a region of RAM that always holds $4C...
by supercat
Mon May 06, 2019 12:11 pm
Forum: NESdev
Topic: CMP setting N flag when it shouldn't?
Replies: 30
Views: 19901

Re: CMP setting N flag when it shouldn't?

There's a similar edge case in how arithmetic shift right on a signed number is For a signed arithmetic shift right you can detect sign and correct the rounding with an ADC #0. A pseudo operation for signed divide by two might look like: CMP #$80 ; move sign into carry ADC #0 ; +1 if signed CMP #$8...
by supercat
Mon May 06, 2019 7:52 am
Forum: NES Graphics
Topic: Ways of implementing sprite animations
Replies: 45
Views: 47805

Re: Ways of implementing sprite animations

The only problem is that the JSON standard only allows decimal numbers, so hexadecimal numbers are off-limits. Many aspects of the design of Javascript are really terrible, but one very useful aspect of that language is that almost any modern system will have an implementation available which can b...
by supercat
Mon May 06, 2019 7:16 am
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

Oops. I really should have read that wiki more carefully myself! I was under the impression that you could actually control the phase of this timer by starting a new sample at some variable point in the NMI. But yes it does appear this was misunderstanding of mine. To be honest I ever only tried th...
by supercat
Sun May 05, 2019 6:36 pm
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

I sort of struggle to see what MMC2 / MMC4 would provide that a scanline IRQ couldn't, except for a modest amount of saved CPU cycles. Using a scanline IRQ would require a relatively complex mapper chip. While MMC2/MMC4 are somewhat fancy, a game designed for MMC2 could be readily adapted for a dis...
by supercat
Sun May 05, 2019 5:29 pm
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

I sort of struggle to see what MMC2 / MMC4 would provide that a scanline IRQ couldn't, except for a modest amount of saved CPU cycles. Using a scanline IRQ would require a relatively complex mapper chip. While MMC2/MMC4 are somewhat fancy, a game designed for MMC2 could be readily adapted for a dis...
by supercat
Sat May 04, 2019 8:21 pm
Forum: General Stuff
Topic: Nintendo cease&desist on a C64 port of Super Mario Bross
Replies: 31
Views: 32354

Re: Nintendo cease&desist on a C64 port of Super Mario Bross

As far as I know it, on the C64, there are registers for a fine scroll of only 0..7, after which point games normally have to manually shift the entire screen data by 1 column. Home computers (/ old IBM PCs) that didn't have any fine scrolling regs in hardware had to manually shift the entire scree...
by supercat
Sat May 04, 2019 10:13 am
Forum: Newbie Help Center
Topic: Hardware limitations?
Replies: 9
Views: 10773

Re: Hardware limitations?

The other big limitation of the NES is memory. It has only 2KB of RAM, which has to be used for anything that's dynamic (static content can be streamed directly from ROM in most cases). Games that must keep a lot of state for long periods can be difficult or even impossible to code. The size of des...
by supercat
Fri May 03, 2019 7:10 am
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

I appreciate the responses about mapping emulation, and would like to continue them soon in on another thread on the emulation forum, but my main purpose in asking whether any research had been done was to avoid duplicating any existing efforts in sketching out a proposal. My goal isn't to recreate ...
by supercat
Tue Apr 30, 2019 8:26 pm
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

I think you perhaps misunderstood my intention. i wasn't intending circuit-level emulation, but rather a VM with an instruction set focused on bit manipulation and 2/4/8-way branching. No, I think I understood what you meant. It's still not for anyone. It's still a solution in search of a problem. ...
by supercat
Mon Apr 29, 2019 5:20 pm
Forum: Homebrew Projects
Topic: Ruby Runner motion test
Replies: 46
Views: 35382

Re: Ruby Runner motion test

What, if any, research has been done with regard to designing a "universal mapper" emulation VM? I don't think it's a good idea./quote] I think you perhaps misunderstood my intention. i wasn't intending circuit-level emulation, but rather a VM with an instruction set focused on bit manipu...