Search found 212 matches

by Bavi_H
Mon Nov 11, 2024 9:52 pm
Forum: NESdev
Topic: How to insert some code into super mario bros NES file
Replies: 7
Views: 475

Re: How to insert some code into super mario bros NES file

This question was also asked at Retrocomputing Stack Exchange: How to insert some code into Super Mario Bros. NES file
by Bavi_H
Tue Nov 05, 2024 1:02 am
Forum: General Stuff
Topic: indoctrinated reality in nesdev(?)
Replies: 48
Views: 2468

Re: indoctrinated reality(?)

does "×1" mean it was the same speed as before, a 0% improvement? The screenshot in the tweet appears to be using a command line tool called checkasm, so I searched for possible source code for it and found the likely function that prints the benchmark results . It contains code like the following: ...
by Bavi_H
Mon Nov 04, 2024 10:44 pm
Forum: General Stuff
Topic: indoctrinated reality in nesdev(?)
Replies: 48
Views: 2468

Re: indoctrinated reality(?)

FFmpeg engineers ran benchmarks and found that rewriting certain steps of video decoding in AVX-512 assembly speeds up their execution by a factor of 94 compared to current compilers. That's not 94% faster but 9400% faster. (Source: @ffmpeg on X ) I wanted to check if it was really a 9300 ...
by Bavi_H
Sun Nov 03, 2024 11:50 am
Forum: NESdev
Topic: What assembler are you using for your NES-projects?
Replies: 48
Views: 2250

Re: What assembler are you using for your NES-projects?

that's one of the main problems with more simple assemblers like asm6, everything is global. asm6 (and asm6f) doesn't support named scopes, but it does let you make local labels beginning with @ Labels beginning with '@' are local labels. They have limited scope, visible only between non-local ...
by Bavi_H
Fri Nov 01, 2024 11:31 am
Forum: NESdev
Topic: Current status of disassembling
Replies: 12
Views: 675

Re: Current status of disassembling

Is this related to your ROM hacking request ? (I sent you an e-mail, by the way...) I haven't tried to generate a complete diassembly of a game before, but for the kinds of changes I want to make, I can usually only look at some parts of the code to make the changes I want. I usually use breakpoints ...
by Bavi_H
Thu Oct 24, 2024 12:44 pm
Forum: NES Hardware and Flash Equipment
Topic: Weird Bootleg - Family Basic Clone?
Replies: 12
Views: 1820

Re: Weird Bootleg - Family Basic Clone?

zxbdragon and NewRisingSun (or anyone else): Have you identified any more keys than the source code example I found? When I tested, scanNo 7 and count4017 7 might be Pause/Break. It seems odd that only the numeric keypad 5 is in that source code example I found and not the other numbers on the ...
by Bavi_H
Thu Oct 24, 2024 9:43 am
Forum: NES Hardware and Flash Equipment
Topic: Weird Bootleg - Family Basic Clone?
Replies: 12
Views: 1820

Re: Weird Bootleg - Family Basic Clone?

Using the source code I previously mentioned as a guide, I made the attached Mesen lua scripts that simulate the Kingwon keyboard. I had the best success using the script for Mesen 0.9.9 and selecting the Subor Keyboard just to disable all the keyboard shortcuts so they won't activate their normal ...
by Bavi_H
Thu Oct 24, 2024 5:42 am
Forum: NES Hardware and Flash Equipment
Topic: Weird Bootleg - Family Basic Clone?
Replies: 12
Views: 1820

Re: Weird Bootleg - Family Basic Clone?

If you are interested in the software side of how the keyboard works, I think I found some source code from another emulator that describes how it works:

GitHub pengan1987 / VirtuaNESex
EXPAD_Kingwon_Keyboard.h
EXPAD_Kingwon_Keyboard.cpp
by Bavi_H
Wed Oct 23, 2024 5:32 pm
Forum: NES Hardware and Flash Equipment
Topic: Weird Bootleg - Family Basic Clone?
Replies: 12
Views: 1820

Re: Weird Bootleg - Family Basic Clone?

After reading tepples's post, I read the wiki documentation of mapper 34 which lead me to BNROM and then mapper 241 . If I make a NES file that contains the following iNES header with mapper 241, vertical mirroring, and 64 kibibytes of PRG ROM: 4E 45 53 1A 04 00 11 F0 00 00 00 00 00 00 00 00 ...
by Bavi_H
Sat Oct 19, 2024 10:46 am
Forum: NES Music
Topic: Music routines and NSF...
Replies: 7
Views: 664

Re: Music routines and NSF...

I think the process of creating Mesen HD pack replacement music is something like the following: You would get your band together and record a cover of the NES music. Or if you are working solo, compose a cover of the NES music in modern digital auto workstation software. You'll export the audio as ...
by Bavi_H
Sat Oct 19, 2024 7:49 am
Forum: NES Music
Topic: Music routines and NSF...
Replies: 7
Views: 664

Re: Music routines and NSF...

For anyone following along, takearushfan also posted on the ROMhacking.net forum: Frustrated, Re: Music addresses... Be aware that there is no unified format for NES music storage. Any tutorial about changing NES game music will be specific to an individual game. It sounds like your current ...
by Bavi_H
Mon Aug 05, 2024 11:15 am
Forum: General Stuff
Topic: RIP ROMhacking.net (RHDN)
Replies: 24
Views: 4328

Re: RIP ROMhacking.net (RHDN)

If I'm reading right, RHDN's back-end database and files are now freely obtainable Yes. The announcement links to an archive.org page with a zip file containing all the downloads and another zip file containing an SQL file. However, be aware that the SQL file has most of the relevant tables, but ...
by Bavi_H
Sat Aug 03, 2024 6:26 am
Forum: General Stuff
Topic: RIP ROMhacking.net (RHDN)
Replies: 24
Views: 4328

Re: RIP ROMhacking.net (RHDN)

According to the annoucement post, it appears the site owner, Nightcrawler, was exploring the possibility of accepting more help with the site, but may have had some reservations or mistrust going into it: ROMhacking.net Moves to News Only, Database and File Archive Released to Internet Archive I ...
by Bavi_H
Mon Jul 22, 2024 3:45 pm
Forum: NES Music
Topic: More NSF Requests
Replies: 3325
Views: 1690011

Re: More NSF Requests

these 2 songs are from the retro city rampage game Retro City Rampage is a PC game. Although the game has an embedded NES beta demo that you can extract and play in an emulator ( step 1 , step 2 ), the beta NES demo has no audio in it at all. From what I remember looking at and reading about the ...
by Bavi_H
Wed Jul 17, 2024 3:48 pm
Forum: NESdev
Topic: NTSC to PAL - Conversion Tips?
Replies: 7
Views: 1701

Re: NTSC to PAL - Conversion Tips?

I tested my example values and discovered I made an off-by-one error. The place that restarts the interval timer uses a BPL instruction to check if the interval is not expired yet. This means that whatever value n that gets loaded into IntervalTimerControl actually has an effect of making the ...