Search found 1565 matches

by Oziphantom
Mon Mar 18, 2024 1:05 am
Forum: SNESdev
Topic: Cool special effrects of FFVI - how are they made?
Replies: 1
Views: 315

Re: Cool special effrects of FFVI - how are they made?

So windows + HDMI will be the trick, the enemies are probably a "layer" rather than sprites, so the window clips that layer + say layer 3 for the "particles". then you just adjust the left and right of the window with HDMA and then animate those. Then use HScroll on the layers wi...
by Oziphantom
Fri Mar 08, 2024 8:30 am
Forum: SNESdev
Topic: Making my level bigger than the tilemap buffer work
Replies: 1
Views: 300

Re: Making my level bigger than the tilemap buffer work

see the horizontal and or vertical scrolling with blocks examples here https://github.com/oziphantom/ElementsSnesEngine I cover it step by step with example sfc. I use 4x4 and 5x5 blocks from memory but it should be easy to convert it to however you are storing your "blocks" even if that i...
by Oziphantom
Thu Mar 07, 2024 8:24 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 392
Views: 292041

Re: Mesen-S - SNES Emulator

if you have the SNES memory address just put it into Lunar Address to get it back to your ROM address which will be the hex offset in the editor.
by Oziphantom
Thu Mar 07, 2024 3:27 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

it is known for being kooky to set up, bad code generation, buggy and all round "not a fun time", but people have used it to make games such as the Sydney came and that tiger girl game etc so it has been shown to still be usable, but personally I feel just using ASM will get you there fast...
by Oziphantom
Mon Mar 04, 2024 6:22 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

actually just noticed that TABLE_LOW is missing in your code paste, is it missing in your source too?
by Oziphantom
Mon Mar 04, 2024 6:05 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

LDA ADDRESS LDA.B ADDRESS LDA.W ADDRESS the B and W have nothing to do with the size of A, rather the size of the Address So basiclly WDA-DX can't handle knowing if something is a 8bit address (i.e ZP or DP) or 16bit address (ABS) or a 24bit Address (Long) so you have to say LDA.W TABLE_LOW,x so it ...
by Oziphantom
Mon Mar 04, 2024 4:15 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

yeah set X to 16 bits and you have a 64K table Separate is the LDA TABLE_LOW,x ; Get LOW. STA JUMPER+0 LDA TABLE_HIGH,x ; Get HIGH. STA JUMPER+1 JMP (JUMPER) using TABLE_LOW: .BYTE LOW(LoadLEV000),LOW(LoadLEV001),LOW(LoadLEV002),LOW(LoadLEV003),LOW(LoadLEV004),LOW(LoadLEV005),LOW(LoadLEV006),LOW(Loa...
by Oziphantom
Mon Mar 04, 2024 3:29 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

this is why you don't use WLA-DX it sucks at 6502 and really sucks at 65816. Z80, sm83 best in class, but 65XX not very good. To fix it "as is" LDA TABLE_LOW,x ; Get LOW. STA JUMPER+0 LDA TABLE_HIGH,x ; Get HIGH. STA JUMPER+1 JMP (JUMPER) however you live in fancy 65816 land, so you can ju...
by Oziphantom
Wed Feb 28, 2024 4:32 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

you can not write to or read from any RAM on the PPU side during active display. No VRAM, No CGRAM and no OAM. All access to those must be during VBlank, HBlank or FBlank.

You are free to modify any PPU register during active display, but $2100 is known to bug out with mid screen updates.
by Oziphantom
Wed Feb 28, 2024 12:10 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

to be fair register size is the M flag and X flag. Decimal mode is the D flag, Interrupt disable is the I flag, and emulation bit is the E flag.
by Oziphantom
Tue Feb 27, 2024 10:44 pm
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

best guess, they started with a generic 65816 tutorial, copy pasted the code, then converted the MVN/MVP code to use DMA, and just kept the PHB/PHP parts because they didn't understand why they were done so just did them "in case". And the original code modified the size of the registers t...
by Oziphantom
Thu Feb 22, 2024 4:44 am
Forum: SNESdev
Topic: snes assembly - beginnings, a few questions (wla-65816)
Replies: 104
Views: 8529

Re: snes assembly - beginnings, a few questions (wla-65816)

you get 64K banks which gives you more ROM space, 64 banks at 32K = 2MB 64 banks at 64K = 4MB It is also nicer to store data in a single chuck which gives better packing, ie all of a SPC program + data fits in 1 bank not being split over 2. The 65816 is a multi header hydra that can walk in 3 addres...
by Oziphantom
Wed Feb 21, 2024 10:17 pm
Forum: SNESdev
Topic: SPC700 is similar to Paula ?
Replies: 7
Views: 663

Re: SPC700 is similar to Paula ?

as somebody who knows Paula, not even remotely the same and calling a SPC-700 a 8 channel Paula is just wildly inaccurate.

Fro detail see https://problemkaputt.de/fullsnes.htm#s ... ingunitapu and the Section 2, Book 1 of the SNES Development Manual
by Oziphantom
Sat Feb 17, 2024 12:03 am
Forum: NESdev
Topic: Linux on NES
Replies: 22
Views: 9835

Re: Linux on NES

sure but a Sun-3 is a 68K20 not a 68K.

There are MMUs for the 6502, the MOS/CSG 8722 for example but the 6502 has no concept at all of "kernel privilege" making it an open book with "gentleman's agreements".
by Oziphantom
Fri Feb 16, 2024 9:47 pm
Forum: NESdev
Topic: Linux on NES
Replies: 22
Views: 9835

Re: Linux on NES

If you want an example of a time sharing OS without protection : Amiga Workbench. As the 68K doesn't have any protection. And thus all the UNIX/BSD/Linux OSes for anything with a 68K also don't have protection. Nor does the 8086 for that matter. I don't think protection is a thing Linux has, but I w...