Search found 4 matches

by tonyame
Thu Mar 28, 2024 11:16 pm
Forum: Newbies
Topic: Help with 2-byte indexing lookup table
Replies: 12
Views: 5267

Re: Help with 2-byte indexing lookup table

Was the Miracle Piano a MIDI controller? I mean did it use MIDI TX data, and then convert/send that data into a 4021 shift register? Or was it the other way around, shift register (inside piano) --> convert to MIDI TX --> to expansion port?
The keyboard itself had MIDI in and out ports, plus a 25 ...
by tonyame
Wed Mar 27, 2024 10:45 pm
Forum: Newbies
Topic: Help with 2-byte indexing lookup table
Replies: 12
Views: 5267

Re: Help with 2-byte indexing lookup table


That said, if you want an example of MIDI on the NES, the Miracle Piano Teaching System used a scheme where a shift register attached to the first player controller port was used to clock MIDI data in and out under control of the NES. The same scheme was presumably used for the Genesis and Super ...
by tonyame
Tue Mar 26, 2024 10:37 pm
Forum: Newbies
Topic: Help with 2-byte indexing lookup table
Replies: 12
Views: 5267

Re: Help with 2-byte indexing lookup table

Thank you for the great help on this. I am just learning the 6502 asm, so that bit of code confused me. I thought there was some cryptic reason why we had to use the ASL before retrieving values from the note table. I think I'm seeing that this was just for demonstration (tutorial) purposes.

Much ...
by tonyame
Tue Mar 26, 2024 6:12 am
Forum: Newbies
Topic: Help with 2-byte indexing lookup table
Replies: 12
Views: 5267

Help with 2-byte indexing lookup table

Hello,

I am going through some code that is a tutorial for 6502 Assembly NES game programming called "Nerdy Nights". In it there is a piece of code that I am having trouble understanding, which uses a 2 byte lookup table for indexing.

Here is part of the lookup table and the code;

note_table ...