Commit Graph

604 Commits

Author SHA1 Message Date
Chris Odorjan
74d357ed4b DUART: actually support 26C92 baud rate generator
also improve detection
2020-05-15 16:42:41 -04:00
Chris Odorjan
10bddd8a17 Merge remote-tracking branch 'upstream/dev' into duart 2020-05-11 21:56:49 -04:00
Chris Odorjan
0f0eae6bd7 26C92 support (untested)
cleanup
remove debugging (it didn't work when the DUART was the primary device anyways)
simplify configuration tables
2020-05-11 21:54:33 -04:00
Wayne Warthen
103a2fc2ae Small Cleanup 2020-05-10 10:38:22 -07:00
Dean Netherton
45cd12b77e Sn76489: Updated todo list 2020-05-10 14:08:34 +10:00
Dean Netherton
ab84a43d33 Sound drivers: support/rejection of zero value for period
SN76489:
The SN76489 chip will produce a note for value 0 - but the driver will reject
this value - but it does allow value $400 - (logically the same) to produce the lowest note

AY38910:
This chip does not produce a sound for period of 0 - so its also rejected
The max value for this driver is still $0FFF
2020-05-10 14:04:19 +10:00
Dean Netherton
5e65fcba13 AY38910: Refactored to use a common function for note mapping as SN76489 driver 2020-05-10 14:04:18 +10:00
Dean Netherton
625e696f68 whitespace 2020-05-10 14:02:59 +10:00
Dean Netherton
7330928dca SN76489: Moved clock configuration from driver to platform config files 2020-05-10 14:02:59 +10:00
Dean Netherton
98a63cefa9 SN76489: refactor - remove custom div16 function - use common hbios util div16 function 2020-05-10 14:02:59 +10:00
Dean Netherton
8c2c0f45b5 sn76489: refactor to support full note range
No need to full mapping table
Range can be consistent with all sound drivers
2020-05-10 14:02:59 +10:00
Wayne Warthen
df1421b163 Small Cleanup 2020-05-09 16:48:30 -07:00
b1ackmai1er
989fa57047 Merge pull request #122 from wwarthen/dev
Dev
2020-05-09 22:34:28 +08:00
b1ackmai1er
180f901594 Initial sound driver update for spk.asm 2020-05-09 22:27:59 +08:00
Wayne Warthen
198da97f0e Merge pull request #124 from b1ackmai1er/dev
Sound driver updates
2020-05-08 18:28:49 -07:00
b1ackmai1er
75c25c813d ay-3-8910 updates
Implement full BBC Micro note table
Note table now calculated at assembly based on selected frequency.
Code optimization
2020-05-09 09:14:53 +08:00
Dean Netherton
3b05013b62 HBIOS: Get timer tick now include the tick frequency 2020-05-09 10:38:53 +10:00
Dean Netherton
4700ea92db sn76489: minor fix to tracing for SN7_NOTE 2020-05-09 10:38:53 +10:00
Wayne Warthen
1859eb0310 Experimental partition support 2020-05-07 16:58:38 -07:00
b1ackmai1er
2ec05940f7 Update ay38910.asm 2020-05-06 21:46:11 +08:00
b1ackmai1er
b3f8cce0ae Basic ay-3-8910 harware detection 2020-05-06 20:48:35 +08:00
b1ackmai1er
7cbb9d081b sound and tune optimizations
sn76489 not tested
2020-05-06 19:02:05 +08:00
Wayne Warthen
c4fae3c1dd Bug fixes
- Fixed build issue in cbios.asm
- Flow improvement in romldr.asm
2020-05-04 14:37:42 -07:00
Wayne Warthen
a1be614279 Cleanup 2020-05-04 13:34:36 -07:00
Wayne Warthen
ce3f7f2224 Small bug fix
- Build error in romldr.asm when using custom boot timeout.
- Handle CP/M 3 error mode variable properly.
2020-05-04 09:07:09 -07:00
Wayne Warthen
ee0fac37f9 Early partition table support
Adding infrastructure for partition table support.  Backward compatible.  Not ready for end user usage yet.

Bumped version to 3.1.1 to demarcate this change.
2020-05-03 19:05:44 -07:00
b1ackmai1er
24b79880d0 Update ay38910.asm
code optimizations
2020-05-03 23:05:08 +08:00
b1ackmai1er
cea46daba9 replace ay driver with ay38910 2020-05-03 21:59:45 +08:00
b1ackmai1er
afbc00d78c ay38910 updates
cleanups, optimizations, protect registers
2020-05-03 20:28:44 +08:00
Dean Netherton
41318639f8 Sound Drivers: Fix issue when attempting to add 2 sound drivers
Needed to increase buffer for active drivers (SND_MAX) from 2 to 3
2020-05-03 11:27:05 +10:00
Dean Netherton
eb552ab7a2 Sound Drivers: fixed building image issue
Duplicate labels fixed for when building AY38910 and SN76489 drivers into the same image
2020-05-03 11:25:32 +10:00
Dean Netherton
f85205afb8 whitespace: ay38910 and hbios 2020-05-03 11:24:14 +10:00
Wayne Warthen
1a8cfb91e7 Changes from Dean Netherton
- Allow immediate autoboot (no timeout)
- Allow configuring number of floppy devices
2020-05-02 14:58:07 -07:00
Wayne Warthen
a457e797ee Update sd.asm
Significantly improve compatibility of SD Cards w/ Z180 -K CPU.
2020-05-02 13:00:15 -07:00
b1ackmai1er
7f1b8c8aa6 ay-3-8910 sound drive tone table development 2020-05-02 20:59:12 +08:00
b1ackmai1er
f399c2e9fa Update ay38910.asm
Remove debug output
2020-05-02 12:54:04 +08:00
b1ackmai1er
a62d69c1c4 fixup platform builds and restore tune default behaviour 2020-05-02 12:47:06 +08:00
b1ackmai1er
3dfeaabe2f ay-3-8910 sound driver updates 2020-05-02 12:28:35 +08:00
b1ackmai1er
5ff9dbb67e Merge pull request #114 from wwarthen/dev
Dev
2020-05-02 11:40:08 +08:00
Wayne Warthen
eeab786848 Update sd.asm
Optimize SD Card protocol timing delay for CSIO interface.
2020-05-01 17:30:12 -07:00
b1ackmai1er
c20036297f Delete SBC_std_zpp.asm 2020-05-02 00:48:07 +08:00
b1ackmai1er
20ad992a7b Initial ay-3-8910 driver 2020-05-02 00:42:11 +08:00
Wayne Warthen
b3c044ab65 Fix HBIOS Breakage! 2020-04-29 22:13:57 -07:00
Wayne Warthen
6cbcdb694d Update Documentation 2020-04-29 19:42:58 -07:00
Wayne Warthen
0834acc020 RTC Device Info Functions 2020-04-29 19:30:24 -07:00
Wayne Warthen
e50f5f0935 Add support for EPFDC
Credit to Alan Cox for the changes.
2020-04-29 17:45:04 -07:00
Chris Odorjan
f86e871f07 Merge remote-tracking branch 'upstream/dev' into duart 2020-04-29 13:48:50 -04:00
Chris Odorjan
ceb1826bed DUART: try not to step on 16x50 UART configuration 2020-04-29 13:45:39 -04:00
Dean Netherton
c51fa1fcae SN76489: Renamed variable 'pitch' to 'period' 2020-04-28 20:40:46 +10:00
Dean Netherton
9cdbc5b981 SN76489: Do not play when period is overflowing 2020-04-28 20:40:46 +10:00