Refactor PAS16 code (Audio/MIDI/PIT)

This should make it work once and for all after many years of being broken/not working.
This commit is contained in:
TC1995
2024-03-21 22:00:48 +01:00
parent 62143628c5
commit 778cd2bc46
3 changed files with 261 additions and 260 deletions

View File

@@ -56,6 +56,8 @@ typedef struct ctr_t {
};
uint32_t l;
uint32_t lback;
uint32_t lback2;
void (*load_func)(uint8_t new_m, int new_count);
void (*out_func)(int new_out, int old_out, void *priv);
@@ -70,7 +72,6 @@ typedef struct PIT {
uint8_t ctrl;
void *dev_priv;
void (*dev_timer)(void *priv);
} pit_t;
extern pit_t *ext_pit;