Search found 567 matches
- Fri Mar 08, 2024 7:34 am
- Forum: General Stuff
- Topic: JavaScript Stack Behavior Re: Block-Scoped Variables
- Replies: 4
- Views: 299
Re: JavaScript Stack Behavior Re: Block-Scoped Variables
This kind of questions were reasonable something about 8-bit epoch and 10+ years later. Then there was strict degradation of speed between interpreters / compilers / assembler by 10 or more at every step. That is interpreter is 10 times slower than compiler, and compiler is 10 times more slower tha...
- Fri Feb 02, 2024 12:15 pm
- Forum: Newbie Help Center
- Topic: Some Command-Line Disassembly Practices
- Replies: 3
- Views: 514
Re: Some Command-Line Disassembly Practices
Interesting. I tend to use the arithmetic expansion feature of Bash instead of bc because it solves 99.9% of what I need. (And yes, it supports hexadecimal input)
- Wed Nov 15, 2023 12:08 pm
- Forum: SNESdev
- Topic: Storing a raw SPC-700 binary in a SNES ROM: Banking problem?
- Replies: 5
- Views: 1797
Re: Storing a raw SPC-700 binary in a SNES ROM: Banking problem?
I would love to know why somebody made their assembler output an ELF file by default, if anybody knows please tell. Because it is a common format? Because there are several tools that can work with those files? That you can get a binary/hex/whatever from it using objcopy (see previous point)? Becau...
- Wed Nov 08, 2023 10:17 am
- Forum: SNESdev
- Topic: Storing a raw SPC-700 binary in a SNES ROM: Banking problem?
- Replies: 5
- Views: 1797
Re: Storing a raw SPC-700 binary in a SNES ROM: Banking problem?
The SNES cannot use ELF files as is. You will have to use objcopy to generate some sort of binary file to be usable.
- Fri Oct 27, 2023 4:01 pm
- Forum: NESdev
- Topic: New Book - Programming Games for the NES
- Replies: 25
- Views: 7276
Re: New Book - Programming Games for the NES
The cover page is simply gorgeous and humourous at the same time. Reminds me of Ada, countess of Lovelace.
- Thu Jul 27, 2023 5:40 am
- Forum: Newbie Help Center
- Topic: Understanding APU Emulation
- Replies: 11
- Views: 2389
Re: Understanding APU Emulation
Are you asking, in simple terms, how to go from the chip operation (raw output in term of clocks and timers) to actual audio output in a computer program?
- Mon Jun 19, 2023 4:40 am
- Forum: Newbie Help Center
- Topic: Disable launch window
- Replies: 1
- Views: 1478
Re: Disable launch window
I don't know much puNES, but if there's no alternative executable that works without spawning a console window, then you can try the following hack: - copy puNES.exe to puNES-win.exe to the same directory - using a hexadecimal editor, go to address 0x00DC (220) and change the byte which should be 03...
- Wed Jun 07, 2023 6:30 pm
- Forum: GBDev
- Topic: I have a stupid question about the dmg-01 serial port interface
- Replies: 5
- Views: 1474
Re: I have a stupid question about the dmg-01 serial port interface
Fun anecdote: I once designed an embedded system with a SoC using RS485 to communicate with other sensors via Modbus, and ended up using a small PIC12F to switch the communication direction because it was cheaper (!) and I could change the timeout by reflashing the microcontroller with the SoC if I ...
- Wed Jun 07, 2023 4:57 pm
- Forum: NESdev
- Topic: Stack juggling? Is this dangerous?
- Replies: 13
- Views: 1184
Re: Stack juggling? Is this dangerous?
Wait, what X is for? Doesn't it need to be adjusted in the loop at some point? Or... The unrolled loop is big enough not to loop?.. hmm...
- Wed Jun 07, 2023 3:05 pm
- Forum: NESdev
- Topic: Stack juggling? Is this dangerous?
- Replies: 13
- Views: 1184
Re: Stack juggling? Is this dangerous?
Also PLA isn't all that fast compared to LDA abs,X, they're both 4 cycle instructions. You save code size by using PLA in your unrolled VRAM update code, but it's probably not significantly faster. Yeah, but PLA increment S, so the next element is accessible with the next PLA; with LDA abs, X you h...
- Tue May 02, 2023 3:55 am
- Forum: NES Hardware and Flash Equipment
- Topic: Star Keeper - analyzing weird homebrew PCB
- Replies: 20
- Views: 2721
Re: Star Keeper - analyzing weird homebrew PCB
STM32 MCUs have all of their pins 5V tolerant, but the pin must not be configured in analog input mode.
- Sun Apr 02, 2023 4:54 pm
- Forum: SNESdev
- Topic: load guy's sprite
- Replies: 9
- Views: 982
Re: load guy's sprite
Sorry for writing that wall of text in Portuguese, but I figured it was easier to reach him that way. BTW, I'm very impressed at the quality of machine-translated code these days! Almost no errors! Not to get too much off topic, but somehow the first time I saw this post, I didn't notice that it wa...
- Sun Apr 02, 2023 5:53 am
- Forum: General Stuff
- Topic: Large animated GIFs in posts
- Replies: 17
- Views: 2796
Re: Large animated GIFs in posts
Linking to animated PNGs and WEBPs on third-party hosting works fine. Can we also have support for AV1 Image File Format (AVIF)? It's more compressed than GIF/PNG/WEBP. https://en.wikipedia.org/wiki/AVIF Sounds like a good idea, except that there's still not widespread support for animated AVIFs.
- Tue Mar 21, 2023 9:00 pm
- Forum: SNESdev
- Topic: 65816/SNES open bus/MDR mystery, (re: the latest RGMEx video)
- Replies: 11
- Views: 1277
Re: 65816/SNES open bus/MDR mystery, (re: the latest RGMEx video)
This is highly unlikely to be a bus holder doing this effect. It's almost certainly the bus capacitance holding (temporarily) the last value that was present on the bus.
- Wed Mar 15, 2023 8:26 pm
- Forum: NESdev
- Topic: DPCM + $2007 reads
- Replies: 22
- Views: 1791
Re: DPCM + $2007 reads
It's an interesting solution to the DMC conflict, but is it guaranteed that a DMC DMA will never occur after the store instruction that disable the DMC channel? Yes. When you stop DMC playback by writing to $4015 (I call this 'explicitly' stopping playback), at worst you'll get a 1-cycle halt on th...