Homebrew Challenge: Improve PicodriveDS code

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Thanks @Coto for your message. It's really instructive.
New changes made. Please check emulator and post your thoughts :)

Another trick I remember from the 90's (the last good decade in systems engineering R&D by far), on slower systems like the Nintendo DS, if you look at the hardware design, Nintendo thought very well how to maximize profits while retaining high performance on very specific hardware pieces.

NintendoDS Programming notes:
Cons:
1) Yes, 66mhz ARM9 is slow to do realtime decoding
2) EWRAM sharing the ARM9 and ARM7 experimental design

Pros:
Data TCM and Instruction TCM can be exploited to use constructed LUTs. Such as calculating color coefficients, lights, or samples of any kind. The barrel shifter can then (through an ALU opcode) work with these tables... from TCM memory!
This allows to keep up with very decent speeds when, decoding a frame of some sort (video/audio).

This step usually is an optimization out of a very slow, but working software implementation.
 
  • Like
Reactions: wariobar

ElectricJelly

Well-Known Member
Newcomer
Joined
Mar 1, 2015
Messages
74
Trophies
0
Age
37
XP
447
Country
United States
Having some trouble. Do the MegaDrive ROM files need to be in a specific format? Mine are in the right place as MDs, but are not showing up in TWiLight Menu. Also, does the NDS file need to be in a specific location and\or renamed?
 

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
pk11.us
XP
3,892
Country
United States
Having some trouble. Do the MegaDrive ROM files need to be in a specific format? Mine are in the right place as MDs, but are not showing up in TWiLight Menu. Also, does the NDS file need to be in a specific location and\or renamed?
I think TWiLight only shows ".gen" files, you can simply rename them to change. TWiLight includes a version of PicoDriveDS at "sd:/_nds/TWiLightMenu/emulators/PicoDriveTWL.nds" so if you want to use this version with TWiLight you'll either need to replace that file with it or launch this directly and load the rom from within it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol