Загрузка страницы

C128 BASIC Hack: Playing Digital Samples

Further discoveries about the Commodore 128’s PLAY command bug (not a bug?) lead to a proof of concept to play digital audio samples in pure BASIC - no machine code required. Examples from Space Taxi, Ghostbusters, and the "I Adore My 64" TV commercial. Thanks to S Haubenthal for the comment that got this happening.

Download it here: http://psw.ca/prg/c128sample.d64
Note that playback did *not* work for me in x128, the Commodore 128 emulator in VICE 2.4. Maybe it’ll work in other versions of the emulator. It runs fine on my real NTSC flat C128. Also, loading the digi is super-slow, like, 3.5 minutes for the short Hey, Taxi. Feel free to improve :) Use GOTO 200 to re-play the digi without the painful reload. Update: change your VICE settings to use a 6581 SID instead of the 8580 and the sample playback will work fine.

Update: viewer Jeffery Stone has greatly improved the load times for the player! Download his updated .d64 here: http://psw.ca/prg/c128sample2.d64
And check out his text file which includes some source code which can be studied to figure out how he accomplished the much faster loading: http://psw.ca/prg/c128sample2.txt

Thanks to Jason Compton and MagerValp for useful episode naming advice! Sometimes it's tough to come up with names for these episodes. I still like "Bil Herd Hates This Weird C128 Audio Trick".

Index:
0:00 Hi, it’s Robin - digital sample examples
1:32 More PLAY command discoveries
3:30 Disassembling a bit of BASIC
6:58 Making a pitch
10:30 Converting samples
13:05 Examining the BASIC sample player

Видео C128 BASIC Hack: Playing Digital Samples канала 8-Bit Show And Tell
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
1 августа 2019 г. 12:12:33
00:17:38
Яндекс.Метрика