Search found 21783 matches

by tepples
Tue May 26, 2020 8:22 pm
Forum: NESdev
Topic: Emulators that can record video, esp. on non-Windows
Replies: 12
Views: 1390

Re: Emulators that can record video, esp. on non-Windows

Mesen is the front-runner for NES emulator video recording on Linux as of right now. I don't know what to recommend for Mac though.
by tepples
Mon May 25, 2020 7:34 pm
Forum: SNESdev
Topic: Design guidance for 3D Engine on SuperFX
Replies: 24
Views: 931

Re: Design guidance for 3D Engine on SuperFX

Fixed. My fault. I've been away from Super NES for way too long, and 240x160 reminded me too much of another platform whose video output does have 228 total lines (160 picture + 68 vblank). In any case, I was trying to keep the best compromise among bandwidth, not spending time rendering pixels that...
by tepples
Mon May 25, 2020 4:40 pm
Forum: SNESdev
Topic: Design guidance for 3D Engine on SuperFX
Replies: 24
Views: 931

Re: Design guidance for 3D Engine on SuperFX

If you want to use the GSU to target modern 16:9 60 Hz TVs, my best suggestion is a 240x160-pixel visible window. This is 38400 pixels, or 19200 bytes in 4bpp mode. The 8:7 pixel aspect ratio (on 60 Hz) will produce a 12:7 (1.71:1) display aspect ratio. You'll have (261 - 160)*165.5 = 16715 bytes of...
by tepples
Sun May 24, 2020 4:05 pm
Forum: NES Hardware and Flash Equipment
Topic: Connecting NES to Teddy Ruxpin
Replies: 21
Views: 492

Re: Connecting NES to Teddy Ruxpin

Might the current owner of the Teddy Ruxpin product identity object? I've read that one company to hold the rights successfully sued third-party publishers of compatible tapes.
by tepples
Sun May 24, 2020 3:42 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 331
Views: 141767

Re: Mesen-S - SNES Emulator

On GB and on GBC in GB mode: Selection of the 10 sprites in secondary OAM is based on the 10 sprites with the lowest OAM index that intersect this scanline. Those 10 are sorted by horizontal position (left in front), with secondary OAM index as a tiebreaker (lower index in front). On each pixel, the...
by tepples
Mon May 18, 2020 5:17 am
Forum: NES Hardware and Flash Equipment
Topic: Diagnosing an NES graphic problem
Replies: 5
Views: 249

Re: Diagnosing an NES graphic problem

The easiest way to work around a file size limit is to resize the images or slightly reduce the JPEG image quality. (If you need help doing that, I'll need to know what operating system your computer runs and what image editing software, if any, you have installed.)
by tepples
Fri May 15, 2020 6:12 am
Forum: Newbie Help Center
Topic: Tecmo Super Bowl Repair Question
Replies: 8
Views: 460

Re: Tecmo Super Bowl Repair Question

Some traces on a printed circuit board appear to terminate but continue through a plated via , which carries the signal from one side of the board to the other. Other traces terminate to the edge of the board or to an unplated hole drilled for mounting the case. These traces go into a margin that is...
by tepples
Thu May 14, 2020 8:24 pm
Forum: NES Hardware and Flash Equipment
Topic: MMC1 free implementation on CPLD released
Replies: 34
Views: 9287

Re: MMC1 free implementation on CPLD released

Either that or logic elements in Intel Altera CPLDs are a lot smaller than the Xilinx macrocells I'm used to, which hold one bit of state or control one multiplexed output. In any case, I doubt a full MMC1 would even fit in the good old 36-cell Xilinx CPLD: 25 bits of state (20 in registers, 5 in sh...
by tepples
Thu May 14, 2020 9:01 am
Forum: NESdev
Topic: Compiled stack proposal
Replies: 22
Views: 1260

Re: Compiled stack proposal

SelfMod, Dispatch via RTS, Double Interrupt stabilization, Main, IRQ, NMI and potentially BRK threads to consider, stack manipulation, rts chaining and just well I want to return a couple up so lets just pop a bunch of stuff off the stack and go for it. Self-modifying code can be handled the same w...
by tepples
Wed May 13, 2020 10:27 am
Forum: General Stuff
Topic: SNES questions
Replies: 2
Views: 434

Re: SNES questions

We'd be glad to take your Super NES development questions in f=12.
by tepples
Wed May 13, 2020 6:52 am
Forum: NESdev
Topic: Compiled stack proposal
Replies: 22
Views: 1260

Re: Compiled stack proposal

I'd suggest re-inventing new names entierely and never mention the word "stack" in it, because the main point is to not use a stack . Microchip's term. If the CS literature offers a better term, I'm willing to use it instead. When it comes to interrupt, I'd exclude them from auto-allocating in the ...
by tepples
Tue May 12, 2020 9:42 pm
Forum: NESdev
Topic: Compiled stack proposal
Replies: 22
Views: 1260

Compiled stack proposal

for 99.9% of all code targeting the NES you wouldn't use recursion anyway, but have all your functions use zeropage. The problem is you need to avoid collisions between different variables. But this is easily done by assuming no recursion / call-by-pointer and creating a "compiled stack" of zeropag...
by tepples
Mon May 11, 2020 7:24 pm
Forum: Newbie Help Center
Topic: 6502 16-bit unsigned += 8-bit signed
Replies: 3
Views: 364

Re: 6502 16-bit unsigned += 8-bit signed

Here's an obvious way:

Code: Select all

clc
lda amount_to_add
bpl @no_neg  ; If amount is $80-$FF, subtract $100
  dec accum_hi
@no_neg:
adc accum_lo
sta accum_lo
lda #0
adc accum_hi
sta accum_hi
by tepples
Sat May 09, 2020 7:29 pm
Forum: Newbie Help Center
Topic: Looking for a layman's explanation of WRAM
Replies: 7
Views: 559

Re: Looking for a layman's explanation of WRAM

UNROM, SGROM, SNROM, and TGROM cartridges have 8 KiB of CHR RAM. The program copies or decompresses data from PRG ROM to CHR RAM. Many mappers can bankswitch CHR RAM. This combines some of the advantages of CHR ROM with some of the advantages of CHR RAM. However, due to costs in the original commerc...
by tepples
Sat May 09, 2020 7:18 pm
Forum: Newbie Help Center
Topic: .bank .org question
Replies: 5
Views: 462

Re: .bank .org question

Would it be true then to say that: .bank 0 = first 8 kb of memory in the actual rom (.nes file) = byte 0 to byte 7999 ? .bank 1 = second 8 kb = byte 8,000 - byte 15,999 ? .bank 2 = third 8 kb = byte 16,000 - byte 23,999 ? .bank 3 = fourth 8 kb = byte 24,000 to 31,999? Almost, except the banks are 8...