Commit Graph

48 Commits

Author SHA1 Message Date
Bobbi Webber-Manners
0bb099bdfd Moved ISR ZP to ISRL/ISRH ($02,$03). Fix #247. 2023-01-04 18:44:48 -05:00
Bobbi Webber-Manners
1027179f6e Fixed #199 - ISR now has exclusive use of A3L/A3H. 2022-12-21 21:04:44 -05:00
Bobbi Webber-Manners
56883335b5 Ensoniq noise channel is now feature-complete. 2022-11-25 23:09:40 -05:00
Bobbi Webber-Manners
ec02d0cc41 Modified ADSR envelope, seems to work better. 2022-11-25 21:56:55 -05:00
Bobbi Webber-Manners
943cce4f70 ADSR envelope overflow bugfix. 2022-11-24 16:21:36 -05:00
Bobbi Webber-Manners
3e3ada7972 Shutdown interrupt & deregister ISR on *QUIT. 2022-11-22 16:10:06 -05:00
Bobbi Webber-Manners
db6cf6c73c Supports both Ensoniq (GS) and Mockingboard (//e). 2022-11-21 16:02:46 -05:00
Bobbi Webber-Manners
77b47d5386 Mockingboard code complete / doesn't work yet. 2022-11-18 23:58:53 -05:00
Bobbi Webber-Manners
ca404e2697 Added Mockingboard frequencies table 2022-11-18 22:43:24 -05:00
Bobbi Webber-Manners
ebee7a0844 More Mockingboard work. 2022-11-18 19:26:20 -05:00
Bobbi Webber-Manners
1afcae2025 Some draft Mockingboard code - not complete. 2022-11-17 22:26:46 -05:00
Bobbi Webber-Manners
b39ae02167 Moved Ensoniq code to mainmem.ensq.s 2022-11-17 19:31:29 -05:00
Bobbi Webber-Manners
d5686988d6 Corrected audio hold flag semantics. 2022-11-10 23:22:34 -05:00
Bobbi Webber-Manners
8b16504299 Pitch envelope fix. 2022-11-07 19:28:43 -05:00
Bobbi Webber-Manners
a7d00985bf Audio bugfix. INS and CNP must not enable IRQ!! 2022-11-07 14:55:57 -05:00
Bobbi Webber-Manners
6c8749eb51 Calibrated frequency and duration properly. 2022-11-06 23:06:47 -05:00
Bobbi Webber-Manners
f5074c6de6 Updated comments in mainmem.audio.s 2022-11-05 17:17:33 -04:00
Bobbi Webber-Manners
2ed8f9b785 Adjusted 100Hz timer. Added BBC BASIC tunes. 2022-11-04 22:30:29 -04:00
Bobbi Webber-Manners
3f8465983b Minor tweak to audio engine 'hold' function. 2022-11-03 23:35:17 -04:00
Bobbi Webber-Manners
634841df6d Implemented *BUILD. 2022-11-02 23:56:29 -04:00
Bobbi Webber-Manners
e969d2cceb First attempt at calibrating frequency 2022-10-31 21:13:13 -04:00
Bobbi Webber-Manners
76ca965adb Added five-byte system clock, OSWORD &01. 2022-10-31 18:47:29 -04:00
Bobbi Webber-Manners
43e429d4df Implemented ADSR release 'hold' feature 2022-10-31 17:48:52 -04:00
Bobbi Webber-Manners
7fece994bc Removed unnecessary PHY/PLY. 2022-10-31 16:34:42 -04:00
Bobbi Webber-Manners
f3ee7bfef2 If prev note hasn't decayed, use residual amplitude 2022-10-30 17:54:22 -04:00
Bobbi Webber-Manners
c407ce0d6b Maintain hold nybble when releasing note 2022-10-30 17:35:31 -04:00
Bobbi Webber-Manners
38cb7cd1b4 Added additional envelope buffers. 2022-10-26 03:22:03 -04:00
Bobbi Webber-Manners
1b9f7acd55 Fixed bug in chord synchronization. 2022-10-25 21:39:41 -04:00
Bobbi Webber-Manners
2af37adc82 Implement ADSR release phase. 2022-10-25 15:47:27 -04:00
Bobbi Webber-Manners
911424173b Bugfix for ADSR with change/step = 0 2022-10-25 14:36:02 -04:00
Bobbi Webber-Manners
a31c9d6374 Fixed bug in amplitude envelope handling. 2022-10-24 20:50:37 -04:00
jgharston
9d55776cb3 Minor bugfixes
ROMINIT sets ROMID to 'unknown', allows ROMSELECT optimisation to work.
Bugfix to BUFREM in audio.s
2022-10-19 15:38:17 +01:00
Bobbi Webber-Manners
2eb2bb82f9 ADSR refactoring. 2022-10-18 00:15:39 -04:00
Bobbi Webber-Manners
5c67403cb4 More work on ADSR envelope. 2022-10-17 01:54:49 -04:00
Bobbi Webber-Manners
135bea7d2d First hack at attack envelope. Seems to work. 2022-10-16 18:10:25 -04:00
Bobbi Webber-Manners
ba828c5ad4 Set 'no envelope' when silencing a note. 2022-10-16 00:43:49 -04:00
Bobbi Webber-Manners
7cea322407 Added support for repeating pitch envelopes. 2022-10-16 00:09:15 -04:00
Bobbi Webber-Manners
9442600894 Pitch envelope working (!) 2022-10-15 23:20:23 -04:00
Bobbi Webber-Manners
fc05237d37 Pitch envelope fixes. 2022-10-15 23:04:43 -04:00
Bobbi Webber-Manners
55cca2ea25 Bumped up date to 2022-10-15. 2022-10-15 20:07:41 -04:00
Bobbi Webber-Manners
dec5df0707 Some bugfix. Pitch envelope more or less complete. Untested! 2022-10-15 03:32:39 -04:00
Bobbi Webber-Manners
dd4ac31e4c Partial implementation of pitch envelope. 2022-10-15 03:18:09 -04:00
Bobbi Webber-Manners
30119703d3 Further work on ENVELOPE data structures. 2022-10-15 02:35:21 -04:00
Bobbi Webber-Manners
7ef3eaf70f Fixed mainmem.audio.s to use A1L,A1H not OSINTWS 2022-10-15 02:22:25 -04:00
Bobbi Webber-Manners
6812429cc9 More groundwork for ENVELOPE. Volume is now 0 to -15, like Beeb. 2022-10-15 00:32:25 -04:00
Bobbi Webber-Manners
366b68ee1a Code cleanup/preparation for envelope handling. 2022-10-14 23:25:16 -04:00
Bobbi Webber-Manners
34d28c4256 Implemented OSWORD &08 (ENVELOPE). No back end yet. 2022-10-14 22:33:52 -04:00
Bobbi Webber-Manners
88dd400535 Merge code from ensoniq branch. Disabled by default. 2022-10-14 00:22:27 -04:00