Compare commits

...

983 Commits
v2.3 ... v3.0.1

Author SHA1 Message Date
Wayne Warthen
2e2d2bebd7 Finalize v3.0.1
Cleanup release for v3.0
2020-04-04 10:48:34 -07:00
Wayne Warthen
77cc5d14a9 Minor RTC Updates 2020-03-31 15:22:02 -07:00
Wayne Warthen
99dadbc17c Handle lack of RTC better
DSRTC driver now correctly returns an error if there is no RTC present.
2020-03-31 11:30:11 -07:00
Wayne Warthen
663a532967 Fix Auto CRT Console Switch on CP/M 3 2020-03-30 14:54:53 -07:00
Wayne Warthen
c615fd239b CLRDIR and ZDE updates
- CLRDIR has been updated by Max Scane for CP/M 3 compatibility.
- A minor issue in the preconfigured ZDE VT100 terminal escape sequences was corrected.
2020-03-30 11:19:06 -07:00
Wayne Warthen
a8b29e44f3 TMS Driver Z180 Improvements
- TMS driver udpated to insert Z180 I/O waitstates internally so other code can run at full speed.
- Updated How-To documents from David.
- Fixed TUNE app to properly restore Z180 I/O waitstates after manipulating them.
2020-03-29 18:02:07 -07:00
Wayne Warthen
6156c4c765 XModem Timing Refinements 2020-03-29 15:42:46 -07:00
Wayne Warthen
a94fa2917e Improve XModem Startup
- Extended startup timeout for XM.COM so that it doesn't timeout so quickly while host is selecing a file to send.
- Updated SD Card How-To from David Reese.
2020-03-29 12:52:15 -07:00
Wayne Warthen
fb0dde5ef8 Update Generated Doc Files 2020-03-27 15:51:09 -07:00
Wayne Warthen
0451620de9 Merge pull request #108 from feilipu/master
ReadMe.md
2020-03-27 15:40:38 -07:00
Phillip Stevens
ef7bdc4b29 Update ReadMe.md 2020-03-28 09:30:20 +11:00
Phillip Stevens
f0ac9973d0 Update ReadMe.txt 2020-03-28 09:28:32 +11:00
Phillip Stevens
34fc468265 update ReadMe.md
Remove some odd `\`.
2020-03-28 09:21:33 +11:00
Phillip Stevens
0046ba9a2c Merge pull request #24 from wwarthen/master
update to master
2020-03-28 09:19:08 +11:00
Wayne Warthen
c37a97308e Update SD Card How-To
Thanks David!
2020-03-27 14:46:27 -07:00
Wayne Warthen
81390b846c Bump to Version 3.0 2020-03-27 10:38:38 -07:00
Wayne Warthen
c24dbb2b98 Merge pull request #107 from feilipu/master
config - doc / comment language consistency
2020-03-26 16:54:19 -07:00
Phillip Stevens
6726f1be88 cfg - mutex consistent config language 2020-03-27 10:04:25 +11:00
Phillip Stevens
be5a148d88 Merge pull request #23 from wwarthen/master
update to master
2020-03-27 09:52:31 +11:00
Wayne Warthen
e15546e051 Pre-release for Testing 2020-03-26 15:34:34 -07:00
Wayne Warthen
47774eacab Config File Tuning 2020-03-26 15:32:26 -07:00
Wayne Warthen
6092737c9c ZDE Upgrade
- Upgraded ZDE 1.6 -> 1.6a
2020-03-26 13:39:05 -07:00
Wayne Warthen
f2fb76341e Minor Changes
- Slight change to ZAP configuration
- Added ZSDOS.ZRL to NZCOM image
2020-03-26 10:28:09 -07:00
Phillip Stevens
cb37a34c8b Merge pull request #22 from wwarthen/master
update to master
2020-03-26 14:40:21 +11:00
Wayne Warthen
60c3ff8a41 Cleanup
- Fix SuperZAP to work under NZCOM and ZPM3
- Finalize standard config files
2020-03-25 19:54:55 -07:00
Wayne Warthen
0f37e64f35 Cleanup 2020-03-24 17:46:26 -07:00
Wayne Warthen
5244ea9e79 FD Motor Timeout
- Made FDC motor timeout smaller and more consistent across different speed CPUs
- Added "boot" messaging to RTC
2020-03-24 12:48:48 -07:00
Wayne Warthen
f11962ef8e Bug Fixes
- Init RAM disk at boot under CP/M 3
- Fix ACR activation in TUNE
2020-03-23 19:54:17 -07:00
Wayne Warthen
4862827058 Remove OSLDR
The OSLDR application was badly broken and almost impossible to fix with new expanded OS support.
2020-03-23 11:41:59 -07:00
Wayne Warthen
2150b04349 Documentation Cleanup 2020-03-22 16:24:37 -07:00
Phillip Stevens
001bbaaeec Merge pull request #21 from wwarthen/master
update to master
2020-03-23 09:54:56 +11:00
Wayne Warthen
04d5fcd9a4 Documentation Updates 2020-03-22 14:44:24 -07:00
Wayne Warthen
cc8d62969f Fix IM 0 Build Error in ACIA 2020-03-22 09:03:15 -07:00
Wayne Warthen
ee4855cd14 Documentation Cleanup 2020-03-22 08:40:06 -07:00
Wayne Warthen
ea600edcd2 Merge pull request #106 from feilipu/master
docs - a few updates
2020-03-22 07:40:44 -07:00
Phillip Stevens
1a60676f44 doc - a few random fixes 2020-03-22 15:01:07 +11:00
Phillip Stevens
5943b0c5e5 Merge pull request #20 from wwarthen/master
Documentation Updates
2020-03-22 14:01:11 +11:00
Wayne Warthen
77caac761f Documentation Updates 2020-03-21 17:59:45 -07:00
Phillip Stevens
df29795904 Merge pull request #19 from wwarthen/master
update to master
2020-03-21 20:49:22 +11:00
Wayne Warthen
5264f2f4d2 Documentation Updates 2020-03-20 10:44:53 -07:00
Wayne Warthen
cae65413ee Create Common.inc 2020-03-18 16:38:48 -07:00
Wayne Warthen
9a19ae21aa Documentation Updates 2020-03-18 15:31:37 -07:00
Wayne Warthen
a86411682b Documentation Updates 2020-03-18 11:41:51 -07:00
Wayne Warthen
77fd7f0e5d Documentation Update 2020-03-17 19:55:43 -07:00
Wayne Warthen
ac12f7fe1a Documentation Update 2020-03-17 12:03:16 -07:00
Wayne Warthen
508e766ea5 Documentation Cleanup 2020-03-16 19:27:09 -07:00
Wayne Warthen
3a10e437c8 Update util.z80 2020-03-15 14:07:19 -07:00
Wayne Warthen
a8d2f3bd39 Minor Bug Fixes
- Disk assignment edge case
- CP/M 3 accidental fall thru
- Cosmetic updates
2020-03-15 13:45:32 -07:00
Wayne Warthen
d1abba5378 Fix CONSOLE Constant
Rename CIODEV_CONSOLE constant to CIO_CONSOLE because it is a unit code, not a device type code.

Retabify TastyBasic.
2020-03-15 09:44:15 -07:00
Wayne Warthen
242a1ce108 Update vdu.asm
Removed a hack in VDU driver that has existed for 8 years.  :-)
2020-03-15 09:09:59 -07:00
Wayne Warthen
09c673fbd0 Update RomWBW Architecture
General refresh for v2.9.2
2020-03-14 21:44:51 -07:00
Wayne Warthen
bbd1ce6168 Config File Cleanups 2020-03-14 14:37:18 -07:00
Wayne Warthen
1bdf833e2c Build Script Cleanups 2020-03-14 12:06:56 -07:00
Wayne Warthen
daf0430c6f Prerelease 36
General cleanup
2020-03-14 10:50:34 -07:00
Wayne Warthen
06b685df21 GitHub CI Updates
Adds automation of build and release assets upon release.
2020-03-14 10:34:13 -07:00
Wayne Warthen
dfd70b8d63 Cleanup
Removed hack from Images Makefile.  Fixed use of DEFSERCFG in various places.
2020-03-13 10:45:33 -07:00
Phillip Stevens
b379b94f97 Merge pull request #18 from wwarthen/master
update to master
2020-03-13 11:56:10 +11:00
Wayne Warthen
00d204be75 Update Makefile
Remove ROM variants that just have the HBIOS MUTEX enabled.  Users can easily enable this in a custom build.
2020-03-12 17:24:59 -07:00
Wayne Warthen
3526355842 Merge pull request #104 from feilipu/master
hbios - remove mutex special files
2020-03-12 17:14:15 -07:00
Wayne Warthen
76510fee5c Create FAT.com
Completing change of case in extension of FAT.com.
2020-03-12 17:12:45 -07:00
Wayne Warthen
7daf65c01c Delete FAT.COM
Changing case of FAT.COM extension to lowercase.
2020-03-12 17:11:45 -07:00
Wayne Warthen
f036deef33 Misc. Cleanup
Includes some minor improvements to contents in some disk images.
2020-03-12 17:10:11 -07:00
Phillip Stevens
6f0940e4b5 HBIOS SCZ180 - adjust mutex comment 2020-03-13 09:22:32 +11:00
Phillip Stevens
97c533c7c5 HBIOS SCZ180 - remove mutex special files 2020-03-13 08:56:20 +11:00
Phillip Stevens
fdad9afc05 Merge pull request #17 from wwarthen/master
update to master
2020-03-13 08:44:49 +11:00
Wayne Warthen
db81d1a28b Add SC131 Support
Also cleaned up some ReadMe files.
2020-03-12 11:40:11 -07:00
Wayne Warthen
eb250cc178 Merge pull request #103 from b1ackmai1er/master
Nascom BASIC update
2020-03-09 20:14:22 -07:00
b1ackmai1er
d98ce895f8 Update nascom.asm
Fixup top screen line not showing
2020-03-08 22:50:02 +08:00
b1ackmai1er
b91871114a Update nascom.asm
Make CLS clear vdu screen
2020-03-08 20:48:56 +08:00
b1ackmai1er
aeb4bc6245 Update nascom.asm
Set default build. update initialization
2020-03-08 16:48:28 +08:00
b1ackmai1er
6b47216266 Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2020-03-08 15:36:30 +08:00
b1ackmai1er
c7dbee6375 Update nascom.asm
Setup ECB-VDU build option, remove debug code
2020-03-08 15:35:58 +08:00
b1ackmai1er
de6069b7d0 Merge pull request #100 from wwarthen/master
Resync
2020-03-08 10:03:31 +08:00
Wayne Warthen
f9727ec384 Merge pull request #102 from feilipu/master
hbios - tmp stack tweak
2020-03-07 10:23:30 -08:00
b1ackmai1er
b939f9d4a3 Update nascom.asm
Optimization
2020-03-08 01:27:00 +08:00
Phillip Stevens
b59dc1cc14 Update hbios.asm
Comments on HBX_BUF usage.
2020-03-08 01:23:53 +11:00
Phillip Stevens
3fee1c5d20 hbios - temp stack tweak 2020-03-07 23:44:54 +11:00
Phillip Stevens
606fac6fa5 Merge pull request #16 from wwarthen/master
update to master
2020-03-07 23:24:59 +11:00
b1ackmai1er
8058a3c3e0 Update nascom.asm
Optimization
2020-03-07 13:49:53 +08:00
b1ackmai1er
b3731be4b1 Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2020-03-07 10:40:27 +08:00
b1ackmai1er
52af91e066 Update nascom.asm
Cleanup
2020-03-07 10:40:16 +08:00
b1ackmai1er
280511b990 Merge pull request #99 from wwarthen/master
Resync
2020-03-07 09:46:17 +08:00
Wayne Warthen
83db582b92 Build Fixes 2020-03-06 17:21:48 -08:00
Wayne Warthen
490c865ea1 Build Test 2020-03-06 16:56:27 -08:00
Wayne Warthen
9fe5004756 Build Test 2020-03-06 16:40:47 -08:00
Wayne Warthen
86765620d7 Update Makefile 2020-03-06 15:55:30 -08:00
Wayne Warthen
02c051f47c Update Makefile 2020-03-06 14:56:48 -08:00
Wayne Warthen
2c2df76f15 Clean up
Make version include files common.
2020-03-06 14:23:55 -08:00
Wayne Warthen
1f6ef60599 IDE & PPIDE Cleanup 2020-03-06 11:36:17 -08:00
b1ackmai1er
85bc2c8792 Update nascom.asm
Optimization, cleanup, tabs and white spaces
2020-03-06 19:23:16 +08:00
b1ackmai1er
1131480f44 Merge pull request #98 from wwarthen/master
Finalize Pre-release 34
2020-03-06 13:52:23 +08:00
Phillip Stevens
b92352c480 Merge pull request #15 from wwarthen/master
Finalize Pre-release 34
2020-03-06 15:26:02 +11:00
Wayne Warthen
1831141abd Finalize Pre-release 34
Final support for FreeRTOS
2020-03-05 12:54:22 -08:00
b1ackmai1er
332831a8cc Initial Nascom basic ecb-vdu graphics
set and reset for 80x25b screen with 256 character mod
2020-03-05 21:53:22 +08:00
b1ackmai1er
0fc1ec5c93 Merge pull request #97 from wwarthen/master
Resync
2020-03-05 19:50:50 +08:00
Phillip Stevens
7c2fcf6e2a Merge pull request #14 from wwarthen/master
update to master
2020-03-05 14:45:50 +11:00
Wayne Warthen
8e99303e2f Add HBIOS MuTex 2020-03-04 16:42:06 -08:00
Wayne Warthen
a8357047b2 Update hbios.asm
Adjusted used of DI/EI for PEEK and POKE to regain a bit of INTSTK space.  Added code so that HB_INVBNK can be used as a flag indicating if HBIOS is active, $FF is inactive, anything else means active.
2020-03-04 13:00:35 -08:00
Wayne Warthen
995bb335b8 Merge pull request #100 from feilipu/master
hbios - wrap hbx_bnkcpy hbx_peek hbx_poke in di/ei
2020-03-04 11:13:29 -08:00
Phillip Stevens
f8d0fda179 hbios - adjust hbx_peek hbx_poke guards 2020-03-04 21:18:48 +11:00
b1ackmai1er
b801d793e6 Merge pull request #96 from wwarthen/master
Resync
2020-03-04 16:48:13 +08:00
Phillip Stevens
b45e531127 hbios - wrap hbx_bnkcpy 2020-03-04 18:33:19 +11:00
Phillip Stevens
7cef05148f Merge pull request #13 from wwarthen/master
update to master
2020-03-04 17:40:58 +11:00
Wayne Warthen
a207ede5be Update hbios.asm
Add improved interrupt protection to HBIOS PEEK, POKE, and BNKCPY functions.
2020-03-03 20:40:46 -08:00
Wayne Warthen
a40e7961a1 Build Process Updates
Minor udpates to build process to improve consistency between Windows and Mac/Linux builds.
2020-03-03 16:07:35 -08:00
Wayne Warthen
8b7c9e10c3 Update hbios.asm
Minor cosmetic changes.
2020-03-03 12:45:16 -08:00
Wayne Warthen
d1b96c340f Merge pull request #99 from feilipu/master
hbios - tidy TMPSTK
2020-03-03 10:59:18 -08:00
b1ackmai1er
cf4baa1270 Merge pull request #95 from wwarthen/master
Resync
2020-03-03 17:17:59 +08:00
Phillip Stevens
4eeba4e48b HBIOS - clean up TMPSTK 2020-03-03 18:53:59 +11:00
Wayne Warthen
f5c32423bc Update ReadMe.txt 2020-03-02 20:44:44 -08:00
Phillip Stevens
e7f9116c30 Merge pull request #12 from wwarthen/master
HBIOS Proxy Temp Stack Enhancement
2020-03-03 11:14:43 +11:00
Wayne Warthen
7c60884847 HBIOS Proxy Temp Stack Enhancement
Reuse the bounce buffer area as the temporary stack space required briefly in HBX_INVOKE when transitioning banks.  Increases size of temporary stack space to 64 bytes.
2020-03-02 15:01:25 -08:00
b1ackmai1er
d4f9ffbc6b Merge pull request #94 from wwarthen/master
Resync
2020-03-02 10:29:39 +08:00
Phillip Stevens
fbcaeeb6a2 Merge pull request #11 from wwarthen/master
update to master
2020-03-02 13:08:52 +11:00
Wayne Warthen
41ecdeccd0 cpmtools Update
Updated cpmtools applications (Windows only).  Removed hack in diskdefs that is no longer required.
2020-03-01 13:25:38 -08:00
Wayne Warthen
fb136ba200 Merge pull request #95 from electrified/modify-ignore
Make .gitignores for Tools/unix more specific
2020-03-01 13:06:30 -08:00
ed
81756bfb05 Make .gitignores for Tools/unix more specific 2020-03-01 11:21:14 +00:00
b1ackmai1er
31372884ea Merge pull request #93 from wwarthen/master
Update Build.sh
2020-03-01 16:48:08 +08:00
Wayne Warthen
b574faed39 Update Build.sh 2020-02-29 22:36:10 -08:00
b1ackmai1er
fdbb6752f9 Merge pull request #92 from wwarthen/master
Update Makefile
2020-03-01 14:20:14 +08:00
Wayne Warthen
462fe228aa Update Makefile 2020-02-29 21:00:32 -08:00
b1ackmai1er
462ceffeb7 Merge pull request #91 from wwarthen/master
Resync
2020-03-01 13:00:24 +08:00
Wayne Warthen
2bce5224f6 Create ReadMe.txt 2020-02-29 20:47:44 -08:00
Wayne Warthen
f888cc94ba Merge pull request #94 from vipoo/dean/linux-tweaks
Dean/linux tweaks
2020-02-29 20:36:57 -08:00
Wayne Warthen
51a1c6eb5b Merge pull request #93 from b1ackmai1er/master
Nascom manual update
2020-02-29 19:59:31 -08:00
Dean Netherton
a85f962a47 Fix issue with Apps/Tune not making
If dest directory does not exist, fails to make Apps
2020-03-01 14:07:51 +11:00
b1ackmai1er
052475d492 Update Microsoft NASCOM BASIC.docx
Nascom manual, text version by Jan S (full name unknown)
2020-03-01 10:23:24 +08:00
Dean Netherton
d211f0977d Fix to HBIOS/build.sh
When adding files to rom disk, if files were missing, it would error out.

It appears the intent is to skip non-existing files.

Updated to log out correctly for missing files - and continue operation.
2020-03-01 12:48:49 +11:00
Dean Netherton
81c4913c72 Build.sh: marked as executable
chmod +x Build.sh
2020-03-01 12:48:40 +11:00
Dean Netherton
462f786c18 Removed Tunes/clean.cmd and Tunes/ReadMe.txt - as make clean removes them 2020-03-01 12:45:05 +11:00
Dean Netherton
82a6e66269 Added an gitignore files to exclude generated files 2020-03-01 12:44:52 +11:00
b1ackmai1er
136a8365b1 Merge pull request #90 from wwarthen/master
Update for GitHub Build
2020-03-01 08:52:33 +08:00
Wayne Warthen
edca77176f Update for GitHub Build
Case issue in TASM includes showing up in GitHub build.  This should correct that.
2020-02-29 10:26:39 -08:00
b1ackmai1er
aba91a61a0 Merge pull request #89 from wwarthen/master
Resync
2020-02-29 16:02:07 +08:00
Wayne Warthen
3ac12fba98 Update Makefile 2020-02-28 22:01:39 -08:00
Wayne Warthen
4790b02168 Update Makefile 2020-02-28 21:42:32 -08:00
Wayne Warthen
efde97c169 Update Makefile 2020-02-28 21:35:02 -08:00
b1ackmai1er
8485115118 Merge pull request #88 from wwarthen/master
Resync
2020-02-29 13:31:15 +08:00
Wayne Warthen
2f21caca71 Update Makefile 2020-02-28 21:20:54 -08:00
Wayne Warthen
29457ea214 Update Makefile 2020-02-28 21:08:35 -08:00
Wayne Warthen
fd5a035453 Update Makefile 2020-02-28 20:55:58 -08:00
Wayne Warthen
d3d7225a79 Update Makefile 2020-02-28 20:45:22 -08:00
Wayne Warthen
d427fee7ee Update Makefile 2020-02-28 20:27:40 -08:00
Wayne Warthen
eebed062ad Update Makefile 2020-02-28 20:22:12 -08:00
Wayne Warthen
1b5420c33b Merge branch 'master' of https://github.com/wwarthen/RomWBW 2020-02-28 19:48:03 -08:00
Wayne Warthen
158658c3fc Update Makefile
Build all ROM variants by default in Linux/Mac build.
2020-02-28 19:47:33 -08:00
Wayne Warthen
def32eda19 Update build.yml
Added "make clean" which will remove temporary files without removing final binary outputs.
2020-02-28 19:34:37 -08:00
b1ackmai1er
41989e1151 Merge pull request #87 from wwarthen/master
Resync
2020-02-29 10:19:46 +08:00
Wayne Warthen
39a6474820 Merge branch 'master' of https://github.com/wwarthen/RomWBW 2020-02-28 16:02:16 -08:00
Wayne Warthen
ef1c610c58 Bump Pre-release Version 2020-02-28 16:02:13 -08:00
Wayne Warthen
07dd8eba32 Merge pull request #90 from electrified/master
Add github action for building RomWBW
2020-02-28 15:58:16 -08:00
ed
b60a3f95b8 Add github action for building RomWBW 2020-02-28 23:49:28 +00:00
Wayne Warthen
4cc218a450 UNA Catchup
UNA support was lacking some of the more recent behavior changes.  This corrects most of it.
2020-02-28 15:26:13 -08:00
b1ackmai1er
8f9e7f3990 Merge pull request #86 from wwarthen/master
Resync
2020-02-28 13:24:08 +08:00
Wayne Warthen
5f07834b47 Misc. Cleanup 2020-02-27 18:40:20 -08:00
Wayne Warthen
0fb8a2d2ff Update sd.asm
Back out hack for uz80as now that Curt fixed it.
2020-02-27 14:45:58 -08:00
Wayne Warthen
59d6099865 Update Makefile
Makefile enhancement to better handle ncurses library from Bob Dunlop.
2020-02-27 14:03:44 -08:00
b1ackmai1er
8ba8a3b43a Merge pull request #85 from wwarthen/master
Resync
2020-02-27 16:35:37 +08:00
Wayne Warthen
e0522bce3f Merge pull request #88 from cm68/master
uz80as expression parser fix for .db ~(1|2) != 0xfe
2020-02-26 16:32:13 -08:00
curt mayer
f8c4ee1183 added diff build option 2020-02-26 15:42:16 -08:00
curt mayer
fcc736bd45 fixed expression parser bug : ~(1|2) returned 0xfe 2020-02-26 15:05:26 -08:00
b1ackmai1er
56e75fc46e Merge pull request #84 from wwarthen/master
Misc. Cleanup
2020-02-26 16:34:36 +08:00
Wayne Warthen
b951a844ca Misc. Cleanup 2020-02-25 15:04:04 -08:00
b1ackmai1er
e6e0bb5287 Merge pull request #83 from wwarthen/master
Upgrade NZCOM to latest
2020-02-25 16:32:25 +08:00
Wayne Warthen
4add4bc237 Upgrade NZCOM to latest 2020-02-24 17:13:07 -08:00
b1ackmai1er
dc49632ddc Merge pull request #82 from wwarthen/master
Resync
2020-02-24 16:31:12 +08:00
Wayne Warthen
62fd42edc6 Merge pull request #86 from cm68/master
bit-identical with windows
2020-02-23 20:29:07 -08:00
curt mayer
621083947c clean, identical build. font source generator emitted .align. this does not match the windows build 2020-02-23 17:46:37 -08:00
curt mayer
9bc1af2f0f Merge remote-tracking branch 'upstream/master' 2020-02-23 15:07:55 -08:00
curt mayer
e73e0ba5f1 diff fixes 2020-02-23 15:04:52 -08:00
Wayne Warthen
c9571fb3ed Merge pull request #85 from cm68/master
fixes for blackmailer issue and hd64180
2020-02-23 12:52:16 -08:00
curt mayer
1db0b09378 added support for binary diff 2020-02-23 09:14:21 -08:00
curt mayer
4f824a04a8 added SBC_std.rom to default build 2020-02-22 22:49:27 -08:00
curt mayer
6ec8ca174f added N8 capability 2020-02-22 22:36:42 -08:00
curt mayer
1d5c5b39a5 default to hd64180 2020-02-22 22:35:29 -08:00
curt mayer
f6954a33a6 added align and 0x55 hex syntax 2020-02-22 22:34:42 -08:00
curt mayer
263de80c6c added code to handle multiple platform rom builds with rom size override 2020-02-22 21:47:02 -08:00
curt mayer
93bfdbc45d added clobber 2020-02-22 21:30:18 -08:00
curt mayer
27d8fb3ac1 removed strip. breaks on osx 2020-02-22 21:26:56 -08:00
curt mayer
32e34cb656 added lzsa 2020-02-22 21:25:35 -08:00
curt mayer
9799120899 added lzsa 2020-02-22 21:25:21 -08:00
curt mayer
6a1781b9ed diff soft failure and casefn speedup 2020-02-22 21:02:18 -08:00
curt mayer
68a9dea630 prerequisite verbosity 2020-02-22 21:01:25 -08:00
curt mayer
1bc9a0bcc3 install to ../HBIOS 2020-02-22 20:58:03 -08:00
curt mayer
915cc50228 this file is copied from optdsk.lib or optcmd.lib 2020-02-22 20:56:08 -08:00
curt mayer
5fe4a5db4c fixed build 2020-02-22 20:37:53 -08:00
curt mayer
dad5a2e004 added real cache validation 2020-02-22 19:58:59 -08:00
curt mayer
c28e80e836 added directory tag so . isn't matched all over the place 2020-02-22 19:23:46 -08:00
curt mayer
39822a9864 removed strip. breaks osx 2020-02-22 19:08:00 -08:00
curt mayer
3eebb5438b added directory mapping cache. if the same directory is being hit
as last run, we don't need to rebuild the map.  will likely break if
you are running more than one at a time, in that the cache will be
ineffective.  also, if the directory contents change, this will also break.
2020-02-22 19:04:00 -08:00
curt mayer
7707ea860d build fonts 2020-02-22 18:07:00 -08:00
curt mayer
52a692030e added rule for font source generation 2020-02-22 18:05:03 -08:00
b1ackmai1er
b662ee1aa2 Revert linux bin2asm font stuff 2020-02-23 09:55:46 +08:00
curt mayer
39f7403b78 added bin2asm for font file source creation 2020-02-22 17:50:14 -08:00
curt mayer
56f4b14ef6 Merge branch 'master' of https://github.com/cm68/RomWBW 2020-02-22 12:16:33 -08:00
curt mayer
363c844eec added tests 2020-02-22 12:15:46 -08:00
curt mayer
f6d979a084 fixed quoted double quote bug, added tests 2020-02-22 12:14:13 -08:00
b1ackmai1er
1d52dd7433 Add bin2asm for linus and update build to process font files under linix 2020-02-22 18:49:54 +08:00
curt mayer
349b3eb108 make compile shut up about conditionals 2020-02-21 10:10:46 -08:00
b1ackmai1er
26a24be24e Merge pull request #81 from wwarthen/master
Resync
2020-02-21 14:07:38 +08:00
Wayne Warthen
94d5c0f5ba Merge pull request #82 from cm68/master
clean build, bit-identical.
2020-02-20 18:45:32 -08:00
Wayne Warthen
d139b592ed Update sd.asm
Cosmetic fix.
2020-02-20 18:36:28 -08:00
curt mayer
088862634d Merge remote-tracking branch 'upstream/master' 2020-02-20 17:39:49 -08:00
curt mayer
c41d73b850 credit and primitive instructions 2020-02-20 17:29:56 -08:00
curt mayer
8cab372267 the windows build somehow thinks that these filesystems are cpm3. 2020-02-20 17:29:08 -08:00
Wayne Warthen
bc9d44b476 Multi-boot fixes 2020-02-20 17:17:44 -08:00
curt mayer
25ce672106 suppress warnings 2020-02-20 16:57:40 -08:00
curt mayer
1d149c3f75 added chmod for execution 2020-02-20 16:56:58 -08:00
curt mayer
a7bc7bb16f quiet clean 2020-02-20 16:56:23 -08:00
curt mayer
5e1022bb86 added hack to handle tunes 2020-02-20 16:55:40 -08:00
curt mayer
ec899e6920 clean diff 2020-02-20 16:55:09 -08:00
curt mayer
ab100bf3bc silenced clean 2020-02-20 16:29:26 -08:00
curt mayer
bac0c76a6d can't have non-tunes in Tunes 2020-02-20 15:45:09 -08:00
curt mayer
174722f387 added more diff support 2020-02-20 15:42:09 -08:00
curt mayer
3d916a90d4 avoid having any non-tunes in Tunes directory 2020-02-20 15:39:55 -08:00
curt mayer
8fc0274044 linux build using good defaults 2020-02-20 15:23:39 -08:00
curt mayer
a03d15fd2f handle .ds correctly, and forward refs in .if 2020-02-20 11:38:32 -08:00
curt mayer
2cc61c3804 slightly more verbose diff 2020-02-20 11:36:30 -08:00
curt mayer
c585594197 added extra rule for diffing 2020-02-20 11:35:46 -08:00
curt mayer
1c227f7270 removed extra HBIOS 2020-02-20 11:33:52 -08:00
curt mayer
1099b358a0 fixed 2 syntax errors that TASM allows 2020-02-20 11:33:11 -08:00
curt mayer
0264711f9f fix for TASM bug using single quote inside string 2020-02-20 11:32:10 -08:00
curt mayer
8fb73c95f4 coding changes for clean diff 2020-02-20 11:31:49 -08:00
curt mayer
9d37b4a59b fixed broken usage of .ds. should have been .fill 2020-02-20 11:29:04 -08:00
b1ackmai1er
ba29011021 Merge pull request #80 from wwarthen/master
Resync
2020-02-20 05:28:19 +08:00
Wayne Warthen
6ea1a8f840 Update biosldr.z80 2020-02-19 13:02:01 -08:00
Wayne Warthen
331cbce5c9 Update Clean.cmd 2020-02-19 11:08:39 -08:00
Wayne Warthen
a44572f9bf Merge pull request #81 from cm68/master
clean unix build after merge
2020-02-19 11:01:51 -08:00
curt mayer
41ed037935 fixes for make diff 2020-02-19 02:47:25 -08:00
b1ackmai1er
ad03d3e4ba Merge pull request #79 from wwarthen/master
Resync
2020-02-19 16:46:29 +08:00
curt mayer
c414664200 build fix for images 2020-02-19 00:17:58 -08:00
curt mayer
cdaf04eaed Merge remote-tracking branch 'upstream/master'
removed .gitignore
2020-02-18 23:10:43 -08:00
curt mayer
155959b430 clean merge 2020-02-18 23:06:53 -08:00
curt mayer
ae9ec4c1d8 clean build 2020-02-18 23:05:54 -08:00
curt mayer
d7232abb60 clean build 2020-02-18 22:03:23 -08:00
Wayne Warthen
2604212a97 Cleanup 2020-02-18 21:05:37 -08:00
Wayne Warthen
59ffef2bf2 Tweaks
A few things needed tweaking after the Unix build update.  No functional changes.
2020-02-18 18:30:17 -08:00
Wayne Warthen
3065c077be Merge pull request #80 from cm68/master
Makefiles and tooling for linux and os-x
2020-02-18 17:01:21 -08:00
curt mayer
22d4825e2c unneeded file 2020-02-18 15:31:55 -08:00
curt mayer
da9520466d Merge remote-tracking branch 'upstream/master' 2020-02-18 15:29:03 -08:00
curt mayer
7a4b88e7b5 added cpmldr.com 2020-02-18 14:57:29 -08:00
curt mayer
320c905578 name of zpmldr in target 2020-02-18 14:54:25 -08:00
curt mayer
050aa3096b more gitignore 2020-02-18 14:50:43 -08:00
curt mayer
c205e1b314 clean make?! 2020-02-18 14:49:28 -08:00
curt mayer
d31c146a7b simplified due to removal of install rule 2020-02-18 14:23:25 -08:00
curt mayer
b765749c3d removed install rule. confusing. 2020-02-18 14:22:45 -08:00
b1ackmai1er
5ada00af9f Merge pull request #78 from wwarthen/master
Resync
2020-02-19 06:12:38 +08:00
Wayne Warthen
88d7c37424 Boot from any slice 2020-02-18 14:08:21 -08:00
Wayne Warthen
2bfe845f6d Merge pull request #79 from b1ackmai1er/master
Supporting CP/M 3 Documentation
2020-02-18 10:32:02 -08:00
b1ackmai1er
08b4d10367 Update NASCOM Reference document 2020-02-18 21:11:02 +08:00
b1ackmai1er
3e9bbbffe3 Compressed pdfs 2020-02-18 20:10:04 +08:00
b1ackmai1er
bab0628f0a Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2020-02-18 18:56:25 +08:00
b1ackmai1er
d0ee590a1c Supporting CP/M 3 Documentation
You may wish to include some or all of this.
2020-02-18 18:55:19 +08:00
b1ackmai1er
6d5a900c3e Merge pull request #77 from wwarthen/master
Load CP/M 3 from disk
2020-02-18 18:21:31 +08:00
Wayne Warthen
0510a02447 Load CP/M 3 from disk
Includes updated SYSCOPY application to put loader image on system tracks.
2020-02-17 15:58:17 -08:00
curt mayer
f4609159fc cpm22 paths 2020-02-17 02:11:54 -08:00
curt mayer
85967e46f3 images and prop eeprom 2020-02-17 02:04:18 -08:00
curt mayer
ac18ab9c19 cleanup after merge 2020-02-17 01:44:49 -08:00
curt mayer
0a52d6922e Merge branch 'master' of github.com:wwarthen/RomWBW 2020-02-16 23:23:53 -08:00
curt mayer
ed2f6097ef added bpsys.bak, a side-effect of windows build 2020-02-16 19:06:21 -08:00
curt mayer
f44288082c towards a clean make and 'git status' 2020-02-16 19:03:19 -08:00
curt mayer
964cc4b91a fixed include order dependency 2020-02-16 17:41:43 -08:00
curt mayer
81fe427352 fixed comment leadin 2020-02-16 17:40:51 -08:00
b1ackmai1er
e02bc96ce2 Merge pull request #76 from wwarthen/master
Resync
2020-02-15 13:45:11 +08:00
Wayne Warthen
437a0d39b7 BPBIOS system segment enhancements 2020-02-14 17:22:56 -08:00
Wayne Warthen
f6f995d407 Merge pull request #78 from b1ackmai1er/master
Update cbios.asm
2020-02-14 11:07:44 -08:00
b1ackmai1er
9452540c75 Update cbios.asm
Change RAMF to 512 directory entries as 4Mb drive space cannot be effectively used without   enough directory entries and extents to hold a large quantity of small files or a small qty of large files.
2020-02-14 23:32:48 +08:00
b1ackmai1er
f039b3b77e Merge pull request #75 from wwarthen/master
BPBIOS Updates
2020-02-14 18:52:59 +08:00
curt mayer
f30c0aa619 clean build try 2020-02-13 18:40:48 -08:00
curt mayer
628bd4f4b2 source order output 2020-02-13 18:40:27 -08:00
Wayne Warthen
3da911edf4 BPBIOS Updates 2020-02-13 16:01:19 -08:00
b1ackmai1er
7304c0c0d0 Merge pull request #74 from wwarthen/master
Resync
2020-02-13 17:05:28 +08:00
Wayne Warthen
84ce67a816 Update Tune.asm
Updated port addresses for Marten's sound card.
2020-02-12 15:23:17 -08:00
Wayne Warthen
e8e57e5e94 Update Tune.asm
TUNE app updated with more flexible hardware configuration detection.
2020-02-12 14:55:38 -08:00
Wayne Warthen
3f9b41e891 Create SC126_How-To_No_1_Serial_Comms_Using_Minicom.pdf
Thanks to David Reese for another userful How-To document.
2020-02-12 11:25:51 -08:00
b1ackmai1er
f91dfd7b69 Merge pull request #73 from wwarthen/master
Resync
2020-02-12 17:57:23 +08:00
Wayne Warthen
5d35a80cf7 Update romldr.asm 2020-02-11 19:31:30 -08:00
Wayne Warthen
a9b400f076 Update ide.asm
Cosmetic bug fix
2020-02-11 17:10:11 -08:00
Wayne Warthen
382b5594f0 Support multiple devices in IDE driver 2020-02-11 17:01:55 -08:00
Wayne Warthen
0445b3547c Adjust for older PowerShell versions 2020-02-11 14:44:32 -08:00
Wayne Warthen
608356cc9b Merge pull request #77 from b1ackmai1er/master
Add a user rom pack template to romldr
2020-02-11 11:29:36 -08:00
Wayne Warthen
2198918231 Create SC126_How-To_No_2_Preparing_an_SD_Card_for_Use_with_SC126_Rev_1-5.pdf
Thanks to David Reese for contributing this.
2020-02-11 11:26:14 -08:00
b1ackmai1er
09b967e82b Add a user rom pack template to romldr 2020-02-10 22:44:35 +08:00
Wayne Warthen
e81962f774 Merge pull request #76 from b1ackmai1er/master
Update romldr to support more than 9 drives.
2020-02-09 10:47:02 -08:00
b1ackmai1er
f552c83f23 Update romldr.asm
Update to cater for possibility of more than 9 drives being detected. Update menu system to support
2020-02-09 20:25:45 +08:00
b1ackmai1er
907b5d578e Merge pull request #72 from wwarthen/master
Resync
2020-02-09 09:11:34 +08:00
Wayne Warthen
461aaedd56 Update boot.z80
Bug fix
2020-02-08 16:23:17 -08:00
Wayne Warthen
8fd1fefdf9 New drive assignment logic to CP/M 3 2020-02-08 15:56:18 -08:00
b1ackmai1er
89b2489727 Merge pull request #71 from wwarthen/master
Drive letter assignment enhancement
2020-02-09 07:05:12 +08:00
Wayne Warthen
d8bbb1e8ca Drive letter assignment enhancement
Drive letters are now only pre-assigned to hard disk type devices that have media inserted.  Media can still be inserted on-the-fly and drive letters assigned using ASSIGN.
2020-02-08 14:24:36 -08:00
b1ackmai1er
941f958742 Merge pull request #70 from wwarthen/master
Build process cleanup
2020-02-08 15:05:49 +08:00
Wayne Warthen
ae287ca56d Build process cleanup 2020-02-07 17:26:17 -08:00
b1ackmai1er
57983b0a4f Merge pull request #69 from wwarthen/master
Resync
2020-02-08 08:53:26 +08:00
Wayne Warthen
f65e17f3ac Add SUBMIT.COM to NZCOM disk image 2020-02-07 13:33:30 -08:00
Wayne Warthen
15d607d686 Further PPIDE updates 2020-02-07 11:47:16 -08:00
Wayne Warthen
bd21224a9d Merge pull request #74 from b1ackmai1er/master
ppide update to begin support for multiple interfaces.
2020-02-07 11:19:25 -08:00
b1ackmai1er
b89e457414 Update game.asm
keypad and arrow keys
2020-02-07 14:33:21 +08:00
b1ackmai1er
7fb1a8851e Add ROM based game
Refer 2048game.com
Requires VT100 terminal.
2020-02-07 13:16:30 +08:00
b1ackmai1er
45fc44e59f Merge pull request #68 from wwarthen/master
Fix BPBIOS Disk I/O
2020-02-06 14:44:25 +08:00
b1ackmai1er
4ac878029d Update std.asm
Required by ppide.asm
2020-02-06 11:36:28 +08:00
curt mayer
2dc8e6bd12 works i think 2020-02-05 17:20:20 -08:00
Wayne Warthen
2c3ebee6ca Fix BPBIOS Disk I/O 2020-02-05 14:04:17 -08:00
b1ackmai1er
336393aad6 Update ppide.asm 2020-02-06 04:19:16 +08:00
b1ackmai1er
5df54bc6fd PPIDE updates 2020-02-06 04:06:44 +08:00
b1ackmai1er
c3ef70efc0 Update ppide.asm
Optimization
2020-02-06 03:10:26 +08:00
b1ackmai1er
684a209c84 Update ppide.asm
Optimization
2020-02-06 01:45:12 +08:00
b1ackmai1er
8a1ddec0f0 Update ppide.asm
Optimization
2020-02-05 23:07:04 +08:00
b1ackmai1er
a96e8e9ef0 Update ppide.asm
Initial multi device ppide
2020-02-05 19:26:24 +08:00
b1ackmai1er
71b7e9c8f5 Merge pull request #67 from wwarthen/master
Fix CP/M 3 floppy disk access
2020-02-05 14:36:57 +08:00
Wayne Warthen
6828269137 Fix CP/M 3 floppy disk access 2020-02-04 19:14:56 -08:00
b1ackmai1er
3eedd25b48 Merge pull request #66 from wwarthen/master
CP/M 3 Cleanup
2020-02-04 22:01:54 +08:00
Wayne Warthen
c83cd1cb2d CP/M 3 Cleanup 2020-02-03 19:18:25 -08:00
b1ackmai1er
227481f0b8 Merge pull request #65 from wwarthen/master
Resync
2020-02-04 07:05:39 +08:00
Wayne Warthen
48968766a0 Small CP/M 3 Update 2020-02-03 14:48:27 -08:00
Wayne Warthen
e7794723bf Merge pull request #73 from b1ackmai1er/master
Update rf.asm
2020-02-03 14:46:04 -08:00
b1ackmai1er
47bb48c8b4 Update rf.asm
Fix device selection for more than 2 devices
2020-02-03 20:40:59 +08:00
b1ackmai1er
7a4d42ba93 rf config updates 2020-02-03 14:09:39 +08:00
b1ackmai1er
32bdd461f6 Update rf.asm
Standardize init message. Allow for up to 4 devices and at non-consecutive addresses. Limit maximum number devices and with warning.
2020-02-03 13:46:48 +08:00
Wayne Warthen
c3f1123187 Merge pull request #72 from b1ackmai1er/master
Add basic command line support to RTC
2020-02-02 11:41:33 -08:00
b1ackmai1er
3a2ef5efdd Update RTC.asm
Add basic command line support. Commands T)ime, C)harge, N)ocharge , T)ime can now be invoked from the command line and exit. i.e. RTC /T displays time RTC /C turns charge on etc
2020-02-02 20:18:21 +08:00
curt mayer
389cd70e7e FDU alignment fix, verbose diff, don't build Tune 2020-01-31 23:02:53 -08:00
curt mayer
7b6faa3280 strange .DS stuff with 0x20 and 0x30 addresses. 2020-01-31 22:28:02 -08:00
curt mayer
0a6c226a5b added ability to have paths 2020-01-31 22:26:20 -08:00
curt mayer
c4c6b8a051 added more diff goodness 2020-01-31 22:25:43 -08:00
curt mayer
0e9894012b fixed output to match tasm's wierd .org usage 2020-01-31 22:23:14 -08:00
b1ackmai1er
0ef6074a6b Merge pull request #64 from wwarthen/master
Resync
2020-01-31 17:41:08 +08:00
curt mayer
9eab1f5e5b handling of no args 2020-01-30 18:03:29 -08:00
curt mayer
639a9c7459 clobber fix 2020-01-30 18:03:07 -08:00
curt mayer
c30c5a6437 build and diff fixes 2020-01-30 15:04:37 -08:00
curt mayer
917f21e468 added Propeller recipe 2020-01-30 15:02:44 -08:00
curt mayer
40663d7f3d syntax error fix. RST 38 is busted 2020-01-30 13:10:49 -08:00
curt mayer
adabd69598 more build fixes 2020-01-29 23:27:57 -08:00
curt mayer
f9126620c8 more build and clean fixes 2020-01-29 23:21:10 -08:00
Curt Mayer
b4c1ca7fcb more build fixes 2020-01-30 07:09:05 +00:00
Curt Mayer
ad35748d5c fixed some build problems 2020-01-30 07:00:33 +00:00
Curt Mayer
fac1974589 makefiles and tools for unix/osx build 2020-01-30 06:47:47 +00:00
Wayne Warthen
14e48f24b5 Cosmetic Cleanup 2020-01-29 15:17:15 -08:00
Wayne Warthen
6dcfb7b058 Merge pull request #71 from b1ackmai1er/master
ECB Cassette and Recovery Mode change
2020-01-29 15:03:33 -08:00
b1ackmai1er
c6f7d4d38a Fixup incorrect commit 2020-01-28 18:16:25 +08:00
b1ackmai1er
b75153d263 ECB Cassette and Recovery Mode change
Create an equate for changing baud rate through custom config rather than the driver.  Add recovermode mode option to use Ring indicator line.
2020-01-28 18:09:30 +08:00
b1ackmai1er
fdb5f82815 Merge pull request #63 from wwarthen/master
Finalize pre-release 27
2020-01-27 07:07:03 +08:00
Wayne Warthen
6950195741 Finalize pre-release 27
Default baud rate for RC and SC platforms with Z180 now 115200.
2020-01-26 12:46:51 -08:00
b1ackmai1er
d2ca0c35f1 Merge pull request #62 from wwarthen/master
Cosmetic Updates
2020-01-21 18:16:03 +08:00
Wayne Warthen
a6f6a9734a Cosmetic Updates 2020-01-20 14:34:43 -08:00
b1ackmai1er
207b3cebc5 Merge pull request #61 from wwarthen/master
Resync
2020-01-18 07:22:22 +08:00
Wayne Warthen
ae62931fbb Bump Version 2020-01-17 15:15:38 -08:00
Wayne Warthen
afd5c22264 Minor Cleanup 2020-01-17 15:06:57 -08:00
Wayne Warthen
825002c181 Merge pull request #69 from b1ackmai1er/master
Implement "safe mode" boot process
2020-01-17 14:26:09 -08:00
b1ackmai1er
60df79fa4d Implement "safe mode" boot process
Lots of ways this could be done. I have chosen to set it up so it just boots with a minimum driver set.

On SBC test  by setting BT_REC_TYPE to BT_REC_SBC02 and use the 1-bit jumper (crtact) jumper to enable.

Options for other platforms needs to be considered.
2020-01-17 16:36:44 +08:00
b1ackmai1er
424676c469 Merge pull request #60 from wwarthen/master
Resync
2020-01-17 10:23:54 +08:00
Wayne Warthen
11376d6d3d Minor Cleanup
Moved font compression tools under Tools directory.  Replaced lzsa app with the Win32 variant to ensure compatibility for all users.
2020-01-16 15:57:56 -08:00
Wayne Warthen
32210b399c Generate Bootable Disk Images
Disk images created as part of the build process can now be made bootable without requiring the user to run SYSCOPY.  Some of the disk images are now bootable.
2020-01-16 15:11:18 -08:00
Wayne Warthen
5b78631fdc Minor Cleanup 2020-01-16 14:00:05 -08:00
Wayne Warthen
285ad8f54c Merge pull request #68 from b1ackmai1er/master
Initial compressed fonts support
2020-01-16 13:51:52 -08:00
b1ackmai1er
c73e87c8c7 Visual guide to ROMWBW fonts 2020-01-16 20:35:12 +08:00
b1ackmai1er
99b5e4eec9 Add preparing fonts to build process 2020-01-16 14:13:39 +08:00
b1ackmai1er
31c917192d Update fonts.txt 2020-01-16 00:40:29 +08:00
b1ackmai1er
6a4723f2f5 Update cvdu.asm
Remove debug code
2020-01-15 18:05:42 +08:00
b1ackmai1er
350b99778b Update cvdu.asm
Remove debug code
2020-01-15 18:02:40 +08:00
b1ackmai1er
b2b07a9d6e Initial compressed fonts support
CVDU untested
2020-01-15 17:58:30 +08:00
b1ackmai1er
58f924cff4 Merge pull request #59 from wwarthen/master
Resync
2020-01-15 12:13:30 +08:00
Wayne Warthen
815c6c14a0 Image Disk BuildXX.ps1 update 2020-01-14 16:35:11 -08:00
Wayne Warthen
c77b9130f3 Merge pull request #67 from b1ackmai1er/master
Additional VGA mode and reworked fonts.
2020-01-14 16:04:23 -08:00
Wayne Warthen
082a2b7e99 Refinements to disk image building 2020-01-14 16:01:08 -08:00
b1ackmai1er
e58ff3fbd8 Merge pull request #58 from wwarthen/master
Disk image creation improvements
2020-01-14 18:35:55 +08:00
Wayne Warthen
04f0b785b5 Disk image creation improvements 2020-01-13 20:41:33 -08:00
b1ackmai1er
3f01182f92 Fixup incorrect push 2020-01-14 08:10:58 +08:00
b1ackmai1er
42efbcd553 Update font inclusion 2020-01-14 08:04:32 +08:00
b1ackmai1er
2c3e9ec365 Fix tms build 2020-01-14 07:25:38 +08:00
b1ackmai1er
83877497cc VGA, CVDU & Fonts update
Fonts renamed. TMS font flipped around to normal orientation. Font files trimmed to scanline length to save space. Fonts sharesd across devices where possible.
2020-01-13 22:58:56 +08:00
Phillip Stevens
0c70aadd46 Merge pull request #10 from wwarthen/master
update to master
2020-01-12 17:56:05 +11:00
b1ackmai1er
03bf58f64c Create font_8x8.asm 2020-01-12 13:37:12 +08:00
b1ackmai1er
d94d1f16dd Update vga.asm 2020-01-12 01:47:07 +08:00
b1ackmai1er
ad816cde01 Update vga.asm 2020-01-12 01:43:55 +08:00
b1ackmai1er
23d0061fb1 Fix Incorrect assembly vga buffer clear
Preliminary 80x60 format. Needs 8x8 font.
2020-01-12 01:41:20 +08:00
b1ackmai1er
3c0ad4816b Merge pull request #57 from wwarthen/master
Merge pull request #66 from b1ackmai1er/master
2020-01-11 10:12:13 +08:00
Wayne Warthen
3c01f5b037 Merge pull request #66 from b1ackmai1er/master
Add 80x43 video mode to VGA3 driver
2020-01-10 16:55:47 -08:00
b1ackmai1er
60f96f3244 Add cursor support fo VGA 80x43 mode
Align with VDU driver
2020-01-10 20:11:19 +08:00
b1ackmai1er
5bf4dbc30f minors 2020-01-10 17:32:27 +08:00
b1ackmai1er
4f798e2454 Revert "minors"
This reverts commit e6183cddec.
2020-01-10 17:22:59 +08:00
b1ackmai1er
e6183cddec minors 2020-01-10 17:22:31 +08:00
b1ackmai1er
5cda17b800 minors 2020-01-10 15:32:39 +08:00
b1ackmai1er
be45e63e90 minors 2020-01-10 11:40:56 +08:00
b1ackmai1er
da26366c0b Add 80x43 video mode to VGA3 driver
With associated font file
2020-01-10 11:26:31 +08:00
b1ackmai1er
677bbe18b2 Merge pull request #56 from wwarthen/master
Resync
2020-01-10 11:21:19 +08:00
Wayne Warthen
3280a71bbb Update ChangeLog.txt 2020-01-09 16:02:16 -08:00
Wayne Warthen
30cc54b9c3 Merge pull request #65 from b1ackmai1er/master
Add 80x30 screen format to VGA3 driver
2020-01-09 15:55:00 -08:00
b1ackmai1er
4b7f570947 Minors 2020-01-09 23:18:18 +08:00
b1ackmai1er
276de14ff6 Add 80x30 screen format to VGA3 driver 2020-01-09 23:06:01 +08:00
Phillip Stevens
43ac88c90b Merge pull request #9 from wwarthen/master
update to master
2020-01-09 09:09:25 +11:00
b1ackmai1er
8e86a65875 Merge pull request #55 from wwarthen/master
Resync
2020-01-08 16:39:54 +08:00
Wayne Warthen
27ea5e63c3 Merge pull request #64 from feilipu/master
HBIOS - sd.asm efficient byte mirror
2020-01-07 12:00:44 -08:00
Wayne Warthen
aa37affe34 Update bqrtc.asm
Minor enhancement.
2020-01-07 11:53:43 -08:00
Phillip Stevens
3d7e3cae6f more tabs 2020-01-07 19:45:54 +11:00
Phillip Stevens
f3d059d4d7 fix more tabs 2020-01-07 19:37:27 +11:00
Phillip Stevens
34540fff54 fix tabs 2020-01-07 19:36:06 +11:00
Phillip Stevens
57f54b325c HBIOS - sd.asm efficient byte mirror 2020-01-07 19:31:34 +11:00
b1ackmai1er
67e4c81676 Merge pull request #54 from wwarthen/master
Resync
2020-01-07 16:23:45 +08:00
Phillip Stevens
3a4f272a01 Merge pull request #8 from wwarthen/master
update to master
2020-01-07 18:52:37 +11:00
Wayne Warthen
485045408c Cleanup 2020-01-06 13:53:50 -08:00
Wayne Warthen
e9709fcde6 Floppy Driver fixes from Steve Garcia 2020-01-06 10:59:03 -08:00
b1ackmai1er
d8fa619c2e Merge pull request #53 from wwarthen/master
Preliminary support for Dyno Computer
2020-01-06 21:14:14 +08:00
Wayne Warthen
3c8cd5219e Preliminary support for Dyno Computer
Dyno Computer is the work of Steve Garcia and much of the code checked in is based on his work.
2020-01-05 15:26:08 -08:00
b1ackmai1er
745798def7 Merge pull request #52 from wwarthen/master
Overhaul disk image build process
2020-01-04 16:23:10 +08:00
Wayne Warthen
8bc4a40662 Overhaul disk image build process 2020-01-03 20:42:06 -08:00
b1ackmai1er
8124595a38 Merge pull request #51 from wwarthen/master
Resync
2020-01-03 19:58:40 +08:00
Wayne Warthen
5e4e098f64 CPM3/ZPM3 Cleanup 2019-12-29 16:27:25 -08:00
Wayne Warthen
625661714f CP/M 3 & ZPM3 Updates 2019-12-28 15:56:49 -08:00
Wayne Warthen
b10286422c Fix ASSIGN command
Also added a graphic that illustrates a hybrid CP/M & DOS hard disk.
2019-12-28 13:56:50 -08:00
b1ackmai1er
a3f093e254 Merge pull request #50 from wwarthen/master
CP/M 3 RTC Fix, ZPM3 Hard Disk Image
2019-12-07 15:15:51 +08:00
Wayne Warthen
64ab933492 CP/M 3 RTC Fix, ZPM3 Hard Disk Image 2019-12-05 12:08:44 -08:00
b1ackmai1er
5e8c2dfdc7 Merge pull request #49 from wwarthen/master
CP/M 3 RTC Support
2019-12-03 21:11:52 +08:00
Phillip Stevens
928c9fe3f5 Merge pull request #7 from wwarthen/master
update to master
2019-12-03 17:51:20 +07:00
Wayne Warthen
8799352a31 CP/M 3 RTC Support
CP/M 3 will now get current date/time from RTC.  Setting RTC from CP/M 3 is not finished.
2019-12-02 18:44:11 -08:00
b1ackmai1er
a2d06b849b Merge pull request #48 from wwarthen/master
Resync
2019-12-02 05:49:41 +08:00
Wayne Warthen
b635a601be Update ChangeLog.txt 2019-12-01 12:37:08 -08:00
Wayne Warthen
54ad5df47f Merge pull request #62 from b1ackmai1er/master
Tune defaults to .PT3 file type if none given
2019-12-01 12:29:35 -08:00
Wayne Warthen
2610fd5be7 Merge pull request #61 from feilipu/master
[hbios] dbgmon hxload rework
2019-12-01 12:25:33 -08:00
b1ackmai1er
5940292bb6 Update Tune.asm
Default to .PT3 file extension if non given.
2019-12-01 22:40:44 +08:00
Phillip Stevens
4beb1ba437 hbios - dbgmon more indentation 2019-11-30 22:17:48 +11:00
Phillip Stevens
6647cd6a05 hbios - dbgmon - fix indentation 2019-11-30 22:13:33 +11:00
Phillip Stevens
ab3882b489 hbios - dbgmon hxload typo 2019-11-30 21:53:44 +11:00
Phillip Stevens
c60c8394b3 hbios - dbgmon hxload 2019-11-30 20:53:49 +11:00
Phillip Stevens
922adde120 Merge pull request #6 from wwarthen/master
update to master
2019-11-28 12:12:37 +07:00
Wayne Warthen
2e39da65f4 Cleanup 2019-11-27 17:23:19 -08:00
Phillip Stevens
808b1b19a5 Merge pull request #5 from wwarthen/master
update to master
2019-11-25 20:11:59 +07:00
b1ackmai1er
913ca308d2 Merge pull request #47 from wwarthen/master
Resync
2019-11-25 17:20:00 +08:00
Wayne Warthen
2ebd800482 CTC Refactoring 2019-11-24 20:16:54 -08:00
Wayne Warthen
ae05aa499e Merge pull request #60 from b1ackmai1er/master
CTC timer support for ECB-SBC-V2 with ECB-Zilog-Peripherals board
2019-11-24 15:54:55 -08:00
b1ackmai1er
6d22708b66 ecb-sbc-v2 / ecb-zp ctc timer configuration
Correct instructions on jumpering.
2019-11-24 21:18:08 +08:00
b1ackmai1er
e2f066492f Create ctcstub.asm 2019-11-24 20:51:39 +08:00
b1ackmai1er
7917a0143a ecb-sbc-v2 ecb-zp ctc timer support 2019-11-24 20:49:51 +08:00
b1ackmai1er
c6e6ed89dc minor 2019-11-23 22:55:30 +08:00
b1ackmai1er
1ff1a70bfb Collection of minors 2019-11-23 17:31:16 +08:00
b1ackmai1er
81722bfa4d Merge pull request #46 from wwarthen/master
TUNE App Refinements
2019-11-22 16:29:27 +08:00
Wayne Warthen
1d542d88bc TUNE App Refinements 2019-11-21 16:27:00 -08:00
b1ackmai1er
da1761b7c1 Merge pull request #45 from wwarthen/master
Resync
2019-11-18 19:29:52 +08:00
Wayne Warthen
bd8d059f32 Cleanup 2019-11-17 21:31:07 -08:00
Wayne Warthen
dc6ecfd9e3 CP/M 3 Support in ASSIGN 2019-11-17 17:35:11 -08:00
Phillip Stevens
7436c165a5 Merge pull request #4 from wwarthen/master
upstream master
2019-11-16 15:21:02 +11:00
b1ackmai1er
c47611525f Merge pull request #44 from wwarthen/master
Resync
2019-11-16 11:38:45 +08:00
Wayne Warthen
659f60c23b Cleanup Timer & Clock Multiplier Code 2019-11-15 16:29:27 -08:00
Wayne Warthen
b87f7b6e89 Merge pull request #58 from feilipu/master
hbios - z180 CMR/CCR config
2019-11-15 14:12:45 -08:00
b1ackmai1er
871520cef7 Merge pull request #43 from wwarthen/master
Resync
2019-11-15 18:57:53 +08:00
Phillip Stevens
084df830ef hbios - z180 TASM equality check 2019-11-15 19:14:43 +11:00
Phillip Stevens
326ee0ae67 hbios - z180 CMR/CCR testing 2019-11-15 11:56:24 +11:00
Phillip Stevens
fc760e90e0 hbios - z180 CMR/CCR order 2019-11-15 11:46:20 +11:00
Phillip Stevens
c0ca96cb96 hbios - z180 CMR/CCR config 2019-11-15 11:40:50 +11:00
Phillip Stevens
1fac76f80c Merge pull request #3 from wwarthen/master
update to upstream master
2019-11-15 10:45:55 +11:00
Wayne Warthen
18f78cfd3e Merge pull request #57 from feilipu/master
hbios - z180 - tidy prt0 setting
2019-11-14 11:35:41 -08:00
b1ackmai1er
ba24d578f6 Merge pull request #42 from wwarthen/master
Resync
2019-11-14 21:50:19 +08:00
Phillip Stevens
294b42f5a4 scz180 white space 2019-11-14 23:25:16 +11:00
Phillip Stevens
fa7eb7f916 scz180 revert fast for pr 2019-11-14 23:22:11 +11:00
Phillip Stevens
446d969779 hbios - use z180 instructions 2019-11-14 23:00:35 +11:00
Wayne Warthen
b7ad90c245 Cleanup 2019-11-12 18:52:33 -08:00
Phillip Stevens
9e815edc29 Merge pull request #2 from wwarthen/master
update to master pre.20
2019-11-12 18:24:44 +11:00
Wayne Warthen
5d03973e80 Cleanup 2019-11-11 20:38:17 -08:00
Phillip Stevens
1d2f74b5b0 scz180 - config fast 2019-11-12 13:53:37 +11:00
Phillip Stevens
6c3f632990 Merge pull request #1 from wwarthen/master
update to master
2019-11-12 11:32:09 +11:00
b1ackmai1er
9ad14e2392 Merge pull request #41 from wwarthen/master
Resync
2019-11-11 21:21:54 +08:00
Wayne Warthen
8f2754b0f7 Minor Cleanup 2019-11-10 18:59:43 -08:00
Wayne Warthen
04f374a4da Misc Cleanup 2019-11-10 11:57:04 -08:00
Wayne Warthen
9895c4d47d Merge pull request #54 from feilipu/master
hbios - system ticks
2019-11-10 11:21:30 -08:00
Phillip Stevens
976ef858d0 hbios - fix HB_SECTCK setting 2019-11-10 15:29:16 +11:00
Phillip Stevens
6cb051ec52 hbios - z180 PRT0 configuration again 2019-11-09 20:51:29 +11:00
Phillip Stevens
d78229a875 hbios - z180 PRT0 configuration 2019-11-09 20:36:52 +11:00
Phillip Stevens
8fb0d9019b hbios - optimise INC32HL 2019-11-09 18:44:06 +11:00
Phillip Stevens
6ab3ecd0cc hbios - sys/time.h functions 2019-11-09 18:32:08 +11:00
b1ackmai1er
a22ac6beab Merge pull request #40 from wwarthen/master
Add Seconds Counter to HBIOS
2019-11-09 13:16:51 +08:00
Wayne Warthen
dc9dd8e8ca Add Seconds Counter to HBIOS 2019-11-08 13:14:28 -08:00
b1ackmai1er
9d25a7663d Merge pull request #39 from wwarthen/master
Update sd.asm
2019-10-29 22:21:20 +08:00
Wayne Warthen
019ae62c2a Update sd.asm
Refinements to sd.asm for RC2014 WizNet Module (SDMODE_MT).
2019-10-26 16:51:42 -07:00
b1ackmai1er
b0226fe1e8 Merge pull request #37 from wwarthen/master
Resync
2019-10-22 16:25:37 +08:00
Wayne Warthen
96fd7b1808 CP/M 3 Minor Build Cleanup 2019-10-21 12:58:43 -07:00
Wayne Warthen
7290a52cf7 Update sd.asm
MT011 updates
2019-10-21 12:48:46 -07:00
Wayne Warthen
0e9edd0874 Merge pull request #52 from b1ackmai1er/NASCOM-VDU-GRAPHICS
Nascom vdu graphics
2019-10-20 16:03:05 -07:00
b1ackmai1er
11857925d2 Update vdu.asm 2019-10-20 22:43:13 +08:00
b1ackmai1er
36e2a0b6ec Merge pull request #36 from wwarthen/master
Resync
2019-10-20 11:22:58 +08:00
b1ackmai1er
bcb16757bb Update vdu.asm 2019-10-20 11:18:45 +08:00
b1ackmai1er
5db3d11b9a ECB-VDU, NASCOM updates
Implement HBIOS cursor setting function VDU_VDASCS for ECB-VDU
2019-10-20 11:15:07 +08:00
Wayne Warthen
b7d928d043 Merge pull request #51 from b1ackmai1er/master
ECB-VDU: Add cursor style options
2019-10-19 12:06:28 -07:00
b1ackmai1er
0b84b88f57 Merge pull request #35 from b1ackmai1er/NASCOM-VDU-GRAPHICS
ECB-VDU: Add cursor style options
2019-10-19 20:31:47 +08:00
b1ackmai1er
ab305429fb Add cursor style options 2019-10-19 20:07:00 +08:00
Wayne Warthen
391997ee09 Merge pull request #50 from b1ackmai1er/master
Forth and NASCOM BASIC updates
2019-10-18 19:17:57 -07:00
b1ackmai1er
1ee2167c2a camel Forth build changes and fixes
;   19-Oct 19 v1.02 Convert to zsm assembler which
;                   identified and fixed incorrect
;                   case conversion when lowercase
;                   keywords are being passed in a
;                   macro. Remove Z80MR assembler
2019-10-19 09:09:59 +08:00
b1ackmai1er
8c8c09097d Merge pull request #34 from wwarthen/master
SDMODE_MT Updates
2019-10-19 07:54:17 +08:00
Wayne Warthen
45b27c34ed SDMODE_MT Updates 2019-10-18 16:13:57 -07:00
b1ackmai1er
cc1a39ebd7 Merge pull request #33 from wwarthen/master
Resync
2019-10-18 15:29:17 +08:00
Wayne Warthen
2d2cb3d8ea Shift Register SPI WIZNET for RC2014 2019-10-17 16:18:40 -07:00
Wayne Warthen
2430231dc1 More CP/M 3 Refinements 2019-10-17 15:02:07 -07:00
b1ackmai1er
2ec195b9e8 Merge pull request #32 from wwarthen/master
Incremental CP/M 3 Improvements
2019-10-17 19:58:19 +08:00
Wayne Warthen
5617d6b27e Incremental CP/M 3 Improvements 2019-10-16 17:12:06 -07:00
b1ackmai1er
c15ae9670a Merge pull request #31 from wwarthen/master
Resync
2019-10-16 20:35:23 +08:00
Wayne Warthen
f98b97e20a Rename DISKDEFS to diskdefs 2019-10-15 15:05:53 -07:00
Wayne Warthen
1e47726176 Rename DISKDEFS to diskdefs 2019-10-15 14:51:41 -07:00
b1ackmai1er
3bdcf371d1 Merge pull request #30 from wwarthen/master
Fix CPM3 Build
2019-10-16 05:46:30 +08:00
Wayne Warthen
a4f2cd8c11 Fix CPM3 Build
Credit to Phil Summers for finding the missing diskdefs files.
2019-10-15 14:21:10 -07:00
b1ackmai1er
b0995506ef Merge pull request #29 from wwarthen/master
Preliminary CP/M 3
2019-10-15 17:39:35 +08:00
Wayne Warthen
57c87db9a1 Preliminary CP/M 3 2019-10-14 16:30:19 -07:00
b1ackmai1er
d56c9baccf Nascom BASIC clear screen changed to use VT100 escape sequences 2019-10-13 21:13:04 +08:00
b1ackmai1er
147fadefd9 NASCOM BASIC Summary 2019-10-13 19:54:46 +08:00
b1ackmai1er
b9a21ae296 Nascom BASIC long error messages
Add an option for  more descriptive error messages
i.e NF error becomes NEXT without FOR
New behaviour is now default
2019-10-13 17:14:20 +08:00
b1ackmai1er
768a459565 Merge pull request #28 from wwarthen/master
Cleanup
2019-10-13 00:38:02 +08:00
Wayne Warthen
bfbf6e7dcf Cleanup 2019-10-11 17:53:34 -07:00
b1ackmai1er
8f4a3112d1 Merge pull request #27 from wwarthen/master
Resync
2019-10-12 08:36:54 +08:00
Wayne Warthen
d12ed64fd6 Merge pull request #49 from b1ackmai1er/master
Add sound to Nascom BASIC for SBC-V2-003
2019-10-11 17:05:54 -07:00
Wayne Warthen
18bc22fd3e Update FAT Application 2019-10-11 16:53:31 -07:00
b1ackmai1er
56d0c81af8 Update nascom.asm
Cleanup
2019-10-12 06:16:36 +08:00
b1ackmai1er
1628c51bd6 Update nascom.asm
Remove debug code
2019-10-12 01:28:06 +08:00
b1ackmai1er
e92da9b2db Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2019-10-12 01:04:21 +08:00
b1ackmai1er
dc0411746e Update nascom.asm 2019-10-12 00:56:15 +08:00
b1ackmai1er
27fd30ef5f Merge pull request #26 from wwarthen/master
Update FAT.COM
2019-10-11 14:46:53 +08:00
Wayne Warthen
26a4abd3f5 Update FAT.COM
Adds MD and FORMAT commands
2019-10-10 18:57:20 -07:00
b1ackmai1er
1d5cd55452 Merge pull request #25 from wwarthen/master
Support Secondary SPI on SC126
2019-10-10 19:40:31 +08:00
Wayne Warthen
bd2fc6dbfe Support Secondary SPI on SC126 2019-10-09 15:37:21 -07:00
b1ackmai1er
b4e5839681 Merge pull request #24 from wwarthen/master
Resync
2019-10-09 18:20:21 +08:00
Wayne Warthen
af2a9a7110 Bump Version 2019-10-08 16:45:11 -07:00
Wayne Warthen
4485e0e932 Cleanup 2019-10-08 16:39:22 -07:00
Wayne Warthen
1c57cae1ed Update FAT Application 2019-10-08 16:34:35 -07:00
b1ackmai1er
b498f5a744 Merge pull request #23 from wwarthen/master
Cleanup
2019-10-07 12:22:26 +08:00
Wayne Warthen
782bcba9f7 Cleanup 2019-10-05 13:58:30 -07:00
b1ackmai1er
98bec91318 Merge pull request #22 from wwarthen/master
Finalize SCZ180 Configurations
2019-10-03 11:14:27 +08:00
Wayne Warthen
57dabc1ab5 Finalize SCZ180 Configurations 2019-10-02 08:45:11 -07:00
b1ackmai1er
99311e4820 Merge pull request #21 from wwarthen/master
Resync
2019-10-02 09:51:45 +08:00
Wayne Warthen
dcfdc4fc36 Merge pull request #48 from sccousins/master
Change status LED use hbios.asm for SC126/130
2019-10-01 15:54:49 -07:00
sccousins
bf7470d712 Update hbios.asm 2019-10-01 18:23:43 +01:00
b1ackmai1er
3865aaad83 Merge pull request #20 from wwarthen/master
Status LED Support
2019-10-01 10:55:59 +08:00
Wayne Warthen
8d96efb6f5 Status LED Support 2019-09-30 17:22:02 -07:00
b1ackmai1er
88940645c0 Merge pull request #19 from wwarthen/master
Dynamic DS-1302 Detection
2019-09-30 13:32:40 +08:00
Wayne Warthen
341c55945c Dynamic DS-1302 Detection 2019-09-29 14:33:40 -07:00
b1ackmai1er
866449c8ee Merge pull request #18 from wwarthen/master
Resync
2019-09-29 10:29:56 +08:00
Wayne Warthen
ff851d36d6 Diagnostic LED Refinements 2019-09-28 16:01:49 -07:00
Wayne Warthen
183ddeac5f Diag LED Enhancement
Diagnostic LEDs will now show disk activity by disk unit number.
2019-09-27 17:16:00 -07:00
Wayne Warthen
cc38eef867 KIO Cleanup 2019-09-23 18:49:33 -07:00
b1ackmai1er
a6f95d70d5 Merge pull request #17 from wwarthen/master
Resync
2019-09-22 14:46:34 +08:00
Wayne Warthen
b819360605 Make ZCAL Y2K Compliant
Credit to Nick Brok
2019-09-21 17:30:58 -07:00
Wayne Warthen
ee04d84abd Fix Z180 CPU Speed Setup 2019-09-20 21:54:04 -07:00
b1ackmai1er
f77072fbd2 Update nascom.asm 2019-09-17 22:43:52 +08:00
b1ackmai1er
fa34bcbea3 Merge pull request #16 from wwarthen/master
Resync
2019-09-16 17:02:27 +08:00
Wayne Warthen
21b231bced Create RCZ80_kio.asm 2019-09-15 16:18:42 -07:00
Wayne Warthen
0fb98bc071 KIO Support 2019-09-15 16:13:50 -07:00
b1ackmai1er
ea8dad4220 Update nascom.asm 2019-09-15 23:12:18 +08:00
b1ackmai1er
8b1f7dcba0 Update nascom.asm
Install frequency table as part of cold boot initialization
2019-09-15 19:42:17 +08:00
b1ackmai1er
587a618400 Update nascom.asm
Populate  the frequency table with duration
2019-09-15 16:44:41 +08:00
b1ackmai1er
c57c3527d2 Update nascom.asm
Add code to start calculating duration based on clock frequency provided by hbios
2019-09-15 12:12:18 +08:00
b1ackmai1er
6c48811167 Update nascom.asm 2019-09-08 00:06:19 +08:00
b1ackmai1er
642953eaf1 Update nascom.asm
Add PLAY duration operand
2019-09-07 21:09:00 +08:00
b1ackmai1er
7033755762 Update nascom.asm
Add PLAY a note
2019-09-07 17:09:36 +08:00
b1ackmai1er
fdb4304f70 Merge pull request #15 from wwarthen/master
Resync
2019-09-07 17:07:23 +08:00
Wayne Warthen
0bdecc9a4a Floppy Fix
Floppy I/O was failing for slower CPUs when the timer interrupts were active.  Now fixed.

Credit to Jorge Jorge Rodrigues for finding this problem and pointing me in the right direction for the fix.
2019-09-06 15:47:46 -07:00
b1ackmai1er
988bf98d4a Merge pull request #14 from wwarthen/master
Resync
2019-09-05 16:32:20 +08:00
Wayne Warthen
8c0c75253e Z180 Variant CPU Speed Handling
Check Z180 CPU variant when attempting to change CPU speed multipliers and handle appropriately.
2019-09-04 20:46:29 -07:00
Wayne Warthen
d55bd64d6b Merge pull request #46 from b1ackmai1er/master
spk.asm developement
2019-09-04 12:02:52 -10:00
b1ackmai1er
21568a4b8d spk.asm developement
Run time adjustement of  tone frequencies for different cpu frequencies with the limitation that rounded down frequency is used. i.e. 4Mhz clock measured at 3.988Mhz will setup tone frequencies based on 3MHz cpu.
2019-09-04 20:37:32 +08:00
b1ackmai1er
f8b50f66ec Merge pull request #13 from wwarthen/master
Resync
2019-09-04 16:14:22 +08:00
Wayne Warthen
b856a1a529 Disk I/O to/from Banked Memory
Supports double-buffered disk i/o to read/write to/from any memory bank specified.

NOTE:  Disk I/O will be temporarily slower than normal because all I/O is being forced thru double-buffering for testing.
2019-09-03 15:12:56 -07:00
Wayne Warthen
5eee238729 Merge pull request #45 from b1ackmai1er/master
Enhance spk.asm to be able to play note
2019-09-03 11:28:51 -10:00
b1ackmai1er
474626b779 Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2019-09-03 20:41:47 +08:00
b1ackmai1er
52c7b7f25c Enhance spk.asm to be able to play note 2019-09-03 20:40:54 +08:00
b1ackmai1er
4d51086cd1 Merge pull request #12 from wwarthen/master
Resync
2019-09-03 20:34:55 +08:00
Wayne Warthen
a473c5c221 Minor Updates 2019-09-01 18:54:13 -07:00
Wayne Warthen
381d62a733 Update API.txt 2019-09-01 13:25:30 -07:00
Wayne Warthen
d5206276a8 Merge pull request #44 from b1ackmai1er/master
Refactor of device summary
2019-09-01 10:04:51 -10:00
b1ackmai1er
0307fe1aa9 Refactor of device summary cleanup 2019-09-01 21:51:31 +08:00
b1ackmai1er
4cc4fc0ffe Refactor of device summary floppy 2019-09-01 15:36:04 +08:00
b1ackmai1er
a3a4e84965 Refactor of device summary 2019-09-01 13:55:28 +08:00
b1ackmai1er
d478b3382e Merge pull request #11 from wwarthen/master
Resync
2019-08-31 19:37:14 +08:00
Wayne Warthen
b8930bd10a Cleanup 2019-08-29 12:36:54 -07:00
b1ackmai1er
d700a1bd1a Merge pull request #10 from wwarthen/master
Resync
2019-08-29 16:33:24 +08:00
Wayne Warthen
72fe10c00a Low Battery Test Refinements 2019-08-28 20:44:31 -07:00
Wayne Warthen
b3568c0142 Update xmhb.180
Additional cleanup of ASCI driver code.
2019-08-28 16:54:16 -07:00
Wayne Warthen
a7bd07b3ce Delete WSCHHELP.OVR
Make room in 1MB ROM disk image for FAT.COM.
2019-08-28 14:36:32 -07:00
Wayne Warthen
8a5ff459a7 Merge pull request #42 from b1ackmai1er/master
DS1210 Battery Low message on boot
2019-08-24 15:27:31 -10:00
b1ackmai1er
bff6e20946 DS1210 Battery Low message on boot
Remove debug code.
Resolve issue with battery status being lost on stack.
Battery status variable moved to DSRTC driver.
Fix build failures for DSRTCENABLE=FALSE (spk.asm requires dsrtc)
2019-08-24 13:41:02 +08:00
b1ackmai1er
f323246d4f Preliminary DS1210 batter low code
Battery state currently not being saved and recalled correctly
2019-08-24 07:21:40 +08:00
b1ackmai1er
c969e46519 Merge pull request #9 from wwarthen/master
Resync
2019-08-19 17:16:38 +08:00
Wayne Warthen
1c42ea0a7c Bug Fixes 2019-08-18 18:28:18 -07:00
Wayne Warthen
49b2255020 Merge pull request #41 from b1ackmai1er/master
Fix for usb-fifo boot display
2019-08-18 08:07:34 -07:00
b1ackmai1er
03c6cf9d51 Update dsrtc.asm
Make it easier to define customer battery or supercapacitor charge rates.
2019-08-18 21:07:06 +08:00
b1ackmai1er
a9780aa8be Fix for usb-fifo boot display 2019-08-18 20:22:04 +08:00
b1ackmai1er
9ec3d258bd Merge pull request #8 from wwarthen/master
Resync
2019-08-18 19:24:46 +08:00
Wayne Warthen
29d3476d68 Update ChangeLog.txt 2019-08-17 20:09:01 -07:00
Wayne Warthen
e4eee85274 ASCI Driver Interrupt Support
Also refactored XModem overlay
2019-08-17 20:08:34 -07:00
Wayne Warthen
5f7a396ced Add FAT ReadMe 2019-08-16 12:07:42 -07:00
Wayne Warthen
aeccf550e3 Add FAT.COM 2019-08-16 11:54:47 -07:00
Wayne Warthen
c8c1dd9c10 Merge pull request #40 from b1ackmai1er/master
xmodem for usb-fifo
2019-08-16 11:28:03 -07:00
b1ackmai1er
2398b48e29 xmodem for usb-fifo
Generates xmuf.com for usb-fifo file transfer. Is not included in the ROM drive build.
2019-08-16 23:20:00 +08:00
b1ackmai1er
88f45a4166 Merge pull request #7 from wwarthen/master
Configuration Files Cleanup
2019-08-16 19:17:20 +08:00
Wayne Warthen
522b72d9df Configuration Files Cleanup 2019-08-15 18:10:07 -07:00
b1ackmai1er
51cb56b064 Merge pull request #6 from wwarthen/master
Resync
2019-08-13 21:13:07 +08:00
Wayne Warthen
09044d1959 Add SC126 Platform 2019-08-11 18:39:03 -07:00
Wayne Warthen
38820a4f89 Merge pull request #39 from b1ackmai1er/master
Fix USB-FIFO build for other ECB platforms
2019-08-10 15:56:35 -07:00
b1ackmai1er
b96c87baf9 Update plt_n8.inc
Fix N8 build with ECB-FIFO
2019-08-10 19:43:39 +08:00
b1ackmai1er
d426e16216 Update plt_mk4.inc
Fix MkIV build with ECB-FIFO
2019-08-10 19:35:05 +08:00
b1ackmai1er
f613520ee9 Merge pull request #5 from wwarthen/master
Resync
2019-08-10 14:09:52 +08:00
Wayne Warthen
56c5710b3f Fix DPB selection in ASSIGN 2019-08-07 12:17:07 -07:00
Wayne Warthen
0b661442c5 SIO & ACIA Driver Updates 2019-08-04 17:51:29 -07:00
Wayne Warthen
d589a215ad Merge pull request #38 from b1ackmai1er/master
usb-fifo driver et al
2019-08-04 15:03:45 -07:00
b1ackmai1er
a8b0e9848b Create ReadMe.txt 2019-08-04 20:40:44 +08:00
b1ackmai1er
0031151008 Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2019-08-04 20:32:11 +08:00
b1ackmai1er
8a560bfbbb Resync 2019-08-04 20:29:29 +08:00
b1ackmai1er
5417ae2155 Merge pull request #4 from wwarthen/master
Resync
2019-08-04 20:22:50 +08:00
b1ackmai1er
65bce62b26 Resync 2019-08-04 20:22:12 +08:00
b1ackmai1er
d22d83f2c8 Update hbios.asm
Fixup misisng driver
2019-08-04 19:48:26 +08:00
b1ackmai1er
12c99e9144 Resync 2019-08-04 19:30:52 +08:00
b1ackmai1er
a3844a0149 Resync 2019-08-04 19:03:16 +08:00
b1ackmai1er
cf9d077057 Resync 2019-08-04 18:36:06 +08:00
b1ackmai1er
7c622942e7 Update std.asm
Add support for changing default console through config.
2019-08-04 17:41:01 +08:00
b1ackmai1er
d89d68e816 Update usbfifo.asm
Add cable disconnect recognition
2019-08-04 15:29:43 +08:00
b1ackmai1er
8c49962102 Add capability to change which console is default 2019-08-04 02:32:51 +08:00
b1ackmai1er
ea4aea46d4 usb-fifo Update config files for other builds 2019-07-28 20:35:03 +08:00
b1ackmai1er
19033c018d Update usbfifo.asm
Cleanup
2019-07-28 19:56:47 +08:00
b1ackmai1er
32bdecb828 Add usb-fifo driver 2019-07-28 16:06:36 +08:00
Wayne Warthen
086957fd3f SIO Fixes 2019-07-23 18:16:30 -07:00
Wayne Warthen
7eeea3684b Update ReadMe.txt 2019-07-22 17:56:55 -07:00
Wayne Warthen
6f16fdc9d5 Support Multiple SIO Modules
Updated SIO driver to handle multiple SIO modules w/ auto-detect and protection for phantom ports.
2019-07-22 17:54:37 -07:00
Wayne Warthen
dcc1bd8cb7 Improved SD Error Messaging
Convert SD error to NO MEDIA when initial command fails.
2019-07-16 15:31:45 -07:00
Wayne Warthen
b85eda9649 Handle SPI w/ No Pullups
Updated SD driver to handle newer SD card adapters which omit the pullup resistors in the SD Card spec.
2019-07-15 12:38:11 -07:00
b1ackmai1er
c210b5941e Update pio.asm 2019-07-15 22:44:18 +08:00
b1ackmai1er
de72e05a45 Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2019-07-15 19:06:55 +08:00
Wayne Warthen
31b2192f22 RTC Port Shadow Register
Implemented a shadow copy of the RTC port value to enable multiple drivers to share the port without causing side effects to other drivers that use other bits of the RTC port.
2019-07-14 14:00:00 -07:00
b1ackmai1er
2480976308 Update pio.asm
Major restructure
2019-07-14 20:38:51 +08:00
Wayne Warthen
5958f7760e Add SC126 DSRTC Support
Updated DSRTC support to avoid mangling bits used for other purposes in RTC latch port.
2019-07-12 15:17:29 -07:00
Wayne Warthen
9a3e3e443c SC126 Diag Port
Make diagnostic port existence and port address configurable.
2019-07-11 19:25:40 -07:00
b1ackmai1er
056f8eab5f Merge pull request #3 from wwarthen/master
Resync
2019-06-22 11:30:04 +08:00
Wayne Warthen
784fd1f433 Merge branch 'master' of https://github.com/wwarthen/RomWBW 2019-06-21 14:17:59 -07:00
Wayne Warthen
293ca770de SC126 Support and SIO Update 2019-06-21 14:17:46 -07:00
Wayne Warthen
64203d4796 Merge pull request #35 from b1ackmai1er/master
Invalid BIOS (signature missing)
2019-06-10 15:16:11 -07:00
b1ackmai1er
1ca508dc2e Invalid BIOS (signature missing)
DS1210 datasheet "The fourth function the DS1210 performs is a battery status warning so that potential data loss is avoided. Each time that the circuit is powered up the battery voltage is checked with a precision comparator. If the battery voltage is less than 2.0 volts, the second memory cycle is inhibited.  Battery status can, therefore, be determined by performing a read cycle after power-up to any location in memory, verifying that memory location content. A subsequent write cycle can then be executed to the same memory location altering the data. If the next read cycle fails to verify the written data, then the batteries are less than 2.0V and data is in danger of being corrupted"

This also works:

	LD	HL,HBX_IMG-2
	LD	DE,HBX_LOC-2
	LD	BC,HBX_SIZ+2
	LDIR

Regards Phil
2019-06-10 22:54:24 +08:00
b1ackmai1er
260d7c0054 Merge branch 'master' of https://github.com/b1ackmai1er/RomWBW 2019-06-10 22:33:46 +08:00
Wayne Warthen
b0aab772ef Finalize v2.9.1 2019-06-03 16:13:46 -07:00
b1ackmai1er
b560f1d3a9 Resync 2019-05-30 19:31:00 +08:00
b1ackmai1er
ca3ba80fd8 Merge pull request #2 from wwarthen/master
Resync
2019-05-30 06:08:31 +08:00
Wayne Warthen
3a1e9f3b72 Cleanup 2019-05-29 14:57:56 -07:00
Wayne Warthen
8197caa4ef Merge pull request #34 from b1ackmai1er/master
Add debugging module mio
2019-05-29 14:41:08 -07:00
b1ackmai1er
c39c27009b Add debugging module mio
Cached debug out
2019-05-28 18:59:17 +08:00
Wayne Warthen
9a15a1796d Merge pull request #33 from b1ackmai1er/master
Additional German Keyboard mapping
2019-05-27 11:52:14 -07:00
b1ackmai1er
4a2dfd7f4a Additional German Keyboard mapping 2019-05-27 17:36:41 +08:00
Wayne Warthen
fa7ae387bf Cleanup 2019-05-26 12:56:24 -07:00
Wayne Warthen
bfc0fa8345 Cleanup 2019-05-26 12:42:56 -07:00
Wayne Warthen
f9c82467cb Merge pull request #32 from b1ackmai1er/master
Add German keyboard layout to ppk and kbd
2019-05-26 12:24:51 -07:00
b1ackmai1er
03fc29d297 Fix local variables in macros
Underscore breaks local variable use in pio driver
2019-05-26 14:10:00 +08:00
b1ackmai1er
ccf8d06c8f Add German keyboard layout to ppk and kbd
From Joachim - joachim.liebold@arcor.de
2019-05-26 10:41:36 +08:00
Wayne Warthen
f624082a62 Finalize v0.9.1-pre.15 2019-05-25 16:52:53 -07:00
b1ackmai1er
cffd109179 Merge pull request #1 from wwarthen/master
Resync
2019-05-25 12:22:49 +08:00
Wayne Warthen
346b190f97 Minor Cleanup 2019-05-24 18:13:21 -07:00
Wayne Warthen
aaaac827d1 Merge pull request #31 from b1ackmai1er/master
Display Z180 processor type at boot.
2019-05-24 16:47:33 -07:00
b1ackmai1er
4860cd945f Update hbios.asm 2019-05-23 23:21:48 +08:00
b1ackmai1er
6106e1600f Update hbios.asm 2019-05-22 21:50:11 +08:00
b1ackmai1er
2d8cd1538f Update hbios.asm 2019-05-22 21:39:26 +08:00
Wayne Warthen
824580de66 Merge pull request #30 from wwarthen/dev
Dev
2019-05-18 11:24:27 -07:00
Wayne Warthen
9cde0994fc Merge pull request #29 from b1ackmai1er/dev
Add  N8 Beep
2019-05-18 11:18:42 -07:00
b1ackmai1er
9e5f7331b1 Add N8 Beep 2019-05-18 15:45:24 +08:00
Wayne Warthen
5551fb9df1 Cleanup IntTest 2019-05-15 21:39:21 -07:00
Wayne Warthen
af892d719c Native RC Z180 & Interrupt Framework Improvements
- Added official support for Steve Cousin's RC2014 Z180 + Native Memory modules (SC111 & SC119).  Thanks to Steve for his assistance with this.
- Improved interrupt framework to remove need to extra stubs for each IM2 interrupt handler.
2019-05-15 15:30:29 -07:00
Wayne Warthen
7121a62b36 Update Doc 2019-05-10 18:33:20 -07:00
Wayne Warthen
68d02e5572 Improvements to INTTEST 2019-05-10 18:07:27 -07:00
Wayne Warthen
040337eaf4 Finalize v2.9.1-pre.13 2019-05-08 18:20:06 -07:00
Wayne Warthen
5196a56267 Support LBA Access for Floppy Devices 2019-05-06 19:26:59 -07:00
Wayne Warthen
e3805d4138 Minor Cleanup 2019-04-22 16:03:02 -07:00
Wayne Warthen
b334a4224d Fix CTC Support 2019-04-21 13:38:31 -07:00
Wayne Warthen
dcbda8806e Add CTC Timer Support
Add periodic timer interrupt support for CTC platforms Easy Z80 and Zeta 2.  Includes watchdog servicing for Easy Z80.  Default interrupt mode for Easy Z80 and Zeta 2 is now IM2.
2019-04-20 15:55:25 -07:00
Wayne Warthen
8fa9ef8d06 Fix Minor Build Issue
Recent addition of PIO driver caused breakage in some builds.  Default config files updated to fix this.
2019-04-19 11:21:38 -07:00
Wayne Warthen
97dbc7847b Minor Fixes
Revert interrupt processing bank id and SLR180 application.
2019-04-10 11:46:12 -07:00
Wayne Warthen
f0c62ceef1 Merge branch 'master' of https://github.com/wwarthen/RomWBW 2019-04-09 15:39:03 -07:00
Wayne Warthen
efad064619 CPM Build Tools Updates
Updated a few of the CP/M binaries used in the build process.
2019-04-09 15:38:49 -07:00
Wayne Warthen
1f3d2a7611 Merge pull request #27 from b1ackmai1er/master
PIO driver
2019-04-09 15:31:56 -07:00
b1ackmai1er
57ac1ca1fb Fix IM2 assembly error. Add 2nd PIO on ECP-ZP 2019-04-09 23:29:19 +08:00
b1ackmai1er
21acf463ba Delete pio.asm 2019-04-09 23:28:06 +08:00
b1ackmai1er
8d3c7a1859 Delete hbios.asm 2019-04-09 23:27:54 +08:00
b1ackmai1er
328453309a Fix IM2 assembly error. Add 2nd PIO on ECB-ZP 2019-04-09 23:26:55 +08:00
b1ackmai1er
6606baebe9 Fix IM2 assembly error. Add second ECB-ZP PIO chip. 2019-04-09 23:25:57 +08:00
b1ackmai1er
4594e990a6 PIO Updates 2019-04-08 20:12:35 +08:00
b1ackmai1er
1e7e28a065 Delete pio.asm 2019-04-08 20:11:59 +08:00
b1ackmai1er
56150ef85f PIO Updates 2019-04-08 20:11:24 +08:00
b1ackmai1er
de208491dc PIO build 2019-04-05 22:55:59 +08:00
b1ackmai1er
b9b1fecbfa Merge pull request #1 from wwarthen/master
Resync
2019-04-02 20:13:30 +08:00
Wayne Warthen
580d4ddf25 DDT & DDTZ Update
DDT & DDTZ updated with versions that use RST 30 instead of RST 38 to avoid conflicts with IM 1 interrupts.
2019-03-26 17:01:45 -07:00
Wayne Warthen
35d3408ab6 Floppy Driver Updates
Minor fixes in fd.asm.
2019-03-16 16:41:37 -07:00
Wayne Warthen
dcd4a5a8f1 Easy Z80 Platform
Make Easy Z80 a separate platform.
2019-03-15 15:16:49 -07:00
Wayne Warthen
dd4c51db97 Merge pull request #26 from wwarthen/master
Refresh Development Branch
2019-03-12 14:51:46 -07:00
Wayne Warthen
a6cc5c0986 Merge pull request #25 from b1ackmai1er/master
SIO & VDU updates
2019-03-12 14:44:34 -07:00
b1ackmai1er
c79d497063 VDU mode updates 2019-03-12 23:02:03 +08:00
b1ackmai1er
8d30252044 Add missing baud rate 2019-03-12 22:47:40 +08:00
Wayne Warthen
20c291dea2 VDU Driver Enhancements
VDU driver enhanced to support alternate screen simensions, provided by Phil Summers
2019-03-05 21:05:08 -08:00
Wayne Warthen
b79c1e7a2f Minor Easy Z80 Tweaks
Modified naming convention from EZ80 to EZZ80 to avoid confusion with Zilog eZ80 processor.
2019-03-04 21:33:44 -08:00
Wayne Warthen
825c2d340b Merge pull request #24 from skiselev/master
Add support for Easy Z80
2019-02-28 20:40:57 -08:00
Sergey Kiselev
810beae712 Eazy Z80: Specify SIO clock frequency
Signed-off-by: Sergey Kiselev <skiselev@gmail.com>
2019-02-27 10:13:41 -08:00
Sergey Kiselev
7ba9bd6e67 Add support for Eazy Z80
Signed-off-by: Sergey Kiselev <skiselev@gmail.com>
2019-02-27 09:38:05 -08:00
Wayne Warthen
9c43e63d1b ROM Loader INT Management
Modified ROM Loader to leave interrupts active when launching target image.
2019-02-20 11:46:29 -08:00
Wayne Warthen
0fe4c5e6f8 Finalize v2.9.1 Prerelease 9
Stability fixes.
2019-02-19 13:41:14 -08:00
Wayne Warthen
931d33eb11 Finalize v2.9.1 Prerelease 8
Fix possible int mode 1 processing paging conflicts.
2019-02-18 15:16:30 -08:00
Wayne Warthen
6f712f4f01 Minor Updates 2018-12-24 14:39:47 -08:00
Wayne Warthen
8d0e25c8a6 Merge pull request #23 from dimitrit/master
Update Tasty Basic
2018-12-24 10:51:14 -08:00
dimitrit
5c4bf2ad89 Update Tasty Basic 2018-12-23 18:47:52 +00:00
Wayne Warthen
92bdce5eb1 Small PPIDE Driver Fix
Remove use of IDE NOP command during probe.
2018-12-12 15:37:24 -08:00
Wayne Warthen
d7f68775ce Various Cleanup 2018-11-26 20:49:22 -08:00
Wayne Warthen
877d868745 Refactoring 2018-11-20 19:29:23 -08:00
Wayne Warthen
82e7b3d813 Refactor DSKY Monitor 2018-11-17 16:10:22 -08:00
Wayne Warthen
c6a3750ea5 Update Doc/ChangeLog.txt 2018-11-14 15:34:42 -08:00
Wayne Warthen
fd5636229d Monitor and RomLdr Updates 2018-11-14 15:27:51 -08:00
Wayne Warthen
a69a1cc930 Merge pull request #21 from b1ackmai1er/master
Update to support romldr loading ROMs at 200h. nascom basic, forth etc.
2018-11-10 12:39:56 -08:00
b1ackmai1er
fd41ef179e Update to support romldr loading ROMs at 200h. nascom basic, forth etc. 2018-11-10 16:06:07 +08:00
b1ackmai1er
2a4455aa9c Update to org 200h 2018-11-10 16:00:06 +08:00
Wayne Warthen
7ed82106a3 Merge pull request #20 from b1ackmai1er/master
Romldr now uses one routine to execute code.
2018-11-09 11:50:53 -08:00
b1ackmai1er
982744b6c9 Tidy up Romldr 2018-11-10 01:13:32 +08:00
b1ackmai1er
cccf49d8bd Delete romldr.asm 2018-11-10 01:12:45 +08:00
b1ackmai1er
082c101845 Tidy up Romldr 2018-11-10 01:10:48 +08:00
b1ackmai1er
c8ba301d45 Romldr now uses one routine to execute code. 2018-11-10 00:17:15 +08:00
b1ackmai1er
2701c43161 Merge pull request #3 from wwarthen/master
Resync
2018-11-09 16:32:04 +08:00
Wayne Warthen
dd73ec092b Finish DBGMON and Cleanup 2018-11-08 18:21:26 -08:00
Wayne Warthen
03fd4f030b More DBGMON Refinements 2018-11-08 12:20:33 -08:00
Wayne Warthen
2c8399dfcf More DBGMON Cleanup 2018-11-08 12:04:28 -08:00
Wayne Warthen
229f040d43 Merge pull request #19 from b1ackmai1er/master
RTC now has reboot option. Previous reboot.com code to be removed
2018-11-08 11:44:30 -08:00
b1ackmai1er
b2788ca1ee Add add reboot option, code optimization. As part of reverting reboot.com.
RTC does not use HBIOS RTC functions.
2018-11-08 11:37:40 +08:00
b1ackmai1er
2dbc4f9a9d Update Build.ps1 2018-11-08 11:31:33 +08:00
b1ackmai1er
2fac781a0a Update Build.cmd 2018-11-08 11:29:30 +08:00
b1ackmai1er
07ebb83cac Delete reboot.asm 2018-11-08 11:28:21 +08:00
b1ackmai1er
52aff2a304 Merge pull request #2 from wwarthen/master
Resync
2018-11-08 09:42:08 +08:00
Wayne Warthen
53286700f7 Rearranged OSIMG ROM bank
The OSIMG bank needed more space allocated to ROMLDR.
2018-11-07 16:10:16 -08:00
Wayne Warthen
c3a9624040 Merge pull request #18 from b1ackmai1er/master
Force DS1302 charging at reboot.
2018-11-07 12:42:44 -08:00
b1ackmai1er
1dbc6ea740 Add a command to return to bootldr 2018-11-07 16:25:37 +08:00
b1ackmai1er
26dea9aa33 Add a command to return to bootldr 2018-11-07 16:24:14 +08:00
b1ackmai1er
d686f982cc Add a command to return to bootldr 2018-11-07 16:21:10 +08:00
b1ackmai1er
7cdad0b4ed Add option to force DS1302 RTC to turn on super caps and battery recharging at boot. 2018-11-07 15:15:12 +08:00
b1ackmai1er
04084b31aa Merge pull request #1 from wwarthen/master
Resync
2018-11-07 12:56:53 +08:00
Wayne Warthen
48fa2a027d Merge pull request #17 from b1ackmai1er/master
Further optimizations to romldr and update to documentation.
2018-11-06 19:52:26 -08:00
Wayne Warthen
8586202ae2 Minor Cleanup 2018-11-06 19:51:20 -08:00
b1ackmai1er
445943d253 Include some information on included ROM software. 2018-11-07 11:48:35 +08:00
b1ackmai1er
1682a41e40 Fix DSKY menu option 2018-11-07 10:30:49 +08:00
b1ackmai1er
7c302ba456 Add Reboot menu option. Some optimizations of error message display 2018-11-07 09:44:23 +08:00
b1ackmai1er
ab32774e68 Update layout documentation with recent ROM changes 2018-11-07 08:51:59 +08:00
Wayne Warthen
2633a7711d Merge pull request #16 from b1ackmai1er/master
CamelForth ROMWBW
2018-11-06 14:33:23 -08:00
b1ackmai1er
e2400a535c Updated to DSKY and BootAuto in romldr
Still more work to be done. Enabling DSKY make the bin file to large for the allocated ROM space.
2018-11-06 21:16:03 +08:00
b1ackmai1er
42cf223f4e Unified Menu structure for romldr to ease intergration of ROMs 2018-11-06 16:01:14 +08:00
b1ackmai1er
5f1c2a3e8c Update to build CamelForth 2018-11-05 16:53:18 +08:00
b1ackmai1er
0838624a79 Assembler for Camel Forth 2018-11-05 16:51:06 +08:00
b1ackmai1er
9fad7db460 CamelForth ROMWBW updated to finish on page ending 2018-11-05 16:33:58 +08:00
b1ackmai1er
5f7f902ba1 CamelForth ROMWBW in OSIMG1 2018-11-05 16:31:07 +08:00
b1ackmai1er
9bc2cb5328 CamelForth ROMWBW first working version 2018-11-05 14:43:38 +08:00
b1ackmai1er
e95eb28fe6 First version with HBIOS Character IO (but not working) 2018-11-05 13:31:13 +08:00
b1ackmai1er
518478c793 Fix some mangling I did t- returned to original 2018-11-04 11:42:44 +08:00
b1ackmai1er
f77eedf4b4 Forth BIN file gets copied to HBIOS directory for assembly into ROM 2018-11-04 11:38:05 +08:00
b1ackmai1er
b5703e8177 First build with Forth to ROM (still CP/M version) 2018-11-04 11:36:10 +08:00
b1ackmai1er
a97284c18d Delete camel80.hex 2018-11-04 11:11:32 +08:00
b1ackmai1er
6703f3b74c Delete camel80.bin 2018-11-04 11:11:18 +08:00
b1ackmai1er
22f30c06f7 Delete camel80.prn 2018-11-04 11:10:47 +08:00
b1ackmai1er
60cfebfcfa Initial CamelForth commit 2018-11-04 11:09:09 +08:00
b1ackmai1er
f2892e5927 Create readme.z80 2018-11-04 11:07:49 +08:00
Wayne Warthen
4cc4d83ef9 Merge pull request #15 from b1ackmai1er/master
Move along, nothing to see here
2018-10-30 15:32:53 -07:00
b1ackmai1er
f45e316a8c Move along, nothing to see here 2018-10-30 23:01:42 +08:00
Wayne Warthen
2c5f0ee332 Merge pull request #14 from b1ackmai1er/master
Add BASIC support through usage of empty ROM bank
2018-10-29 20:50:28 -07:00
b1ackmai1er
164627f794 Ensure we have all Nascom changes 2018-10-30 06:03:19 +08:00
b1ackmai1er
39b7b08932 Cleanup, get ready for merge. No PIO support yet 2018-10-30 06:00:57 +08:00
b1ackmai1er
127d5bc676 Delete romldr.asm 2018-10-30 05:59:27 +08:00
b1ackmai1er
5b1348d123 Delete hbios.asm 2018-10-30 05:59:13 +08:00
b1ackmai1er
2f9cd64489 Delete cfg_sbc.asm 2018-10-30 05:58:59 +08:00
b1ackmai1er
81eacdda24 Cleanup, get ready for merge. No PIO support yet 2018-10-30 05:57:19 +08:00
b1ackmai1er
c33adf6cf7 Move and align buffers and stack to end of RAM 2018-10-29 23:21:22 +08:00
b1ackmai1er
d29ce909a0 Fix I/O, buffers and stack 2018-10-28 22:57:28 +08:00
b1ackmai1er
aaf957af4e Update build process to build additonal ROM image 2018-10-28 18:02:06 +08:00
b1ackmai1er
eb107c9b54 Update build process to build additonal ROM image 2018-10-28 15:33:44 +08:00
b1ackmai1er
40b40b7fa5 Support for additional rom options including Nascom and Tasty BASIC 2018-10-28 14:39:20 +08:00
b1ackmai1er
a28bfc157b Extend serial device type to support 4 devices including parallel port device. 2018-10-07 17:11:52 +08:00
b1ackmai1er
9d372a54cc Delete hbios.asm 2018-10-07 17:10:55 +08:00
b1ackmai1er
b5b29fcb32 Delete hbios.inc 2018-10-07 17:10:41 +08:00
b1ackmai1er
f7fc9dc564 Delete pio.asm 2018-10-07 17:10:15 +08:00
b1ackmai1er
e15c2201ee Add Bi-Directional port type to CharIO Parallel port type 2018-10-07 16:53:01 +08:00
b1ackmai1er
a69218877c Extend serial device type to support 4 devices including parallel port device. 2018-10-07 15:45:46 +08:00
b1ackmai1er
f4953e6394 Framework for Parallel port driver for ECB-Zilog-Peripherals & ECB-4PIO 2018-10-06 23:53:11 +08:00
Wayne Warthen
b6ca264e88 Add SmallZ80 Support to FDU 2018-09-28 17:46:18 -07:00
Wayne Warthen
3279f78ced Update Changelog 2018-09-28 09:08:38 -07:00
Wayne Warthen
00935edaa1 Merge pull request #13 from b1ackmai1er/master
Display more config info at DS1302 RTC initialization
2018-09-28 07:35:55 -07:00
b1ackmai1er
97e9339bc9 Display more config info at DS1302 RTC initialization
For systems which use Super capacitor or rechargable battery, trickle charge status is displayed. Good for users with ECB-RAMF for example. Trickle charge can be turned on/off with the RTC.COM utility and the status set will now be display at boot time.
2018-09-28 19:01:48 +08:00
Wayne Warthen
6fb53c08d5 Merge pull request #12 from b1ackmai1er/master
Display more config info at ECB-RAMF initialization
2018-09-27 19:12:37 -07:00
b1ackmai1er
f7cf537454 Display more config info at ECB-RAMF initialization 2018-09-27 20:59:37 +08:00
Wayne Warthen
83bc6af3a6 Update Architecture Document 2018-09-02 17:55:31 -07:00
Wayne Warthen
f5294a19d7 Preliminary Support for Interrupt Management API 2018-08-28 18:55:31 -07:00
Wayne Warthen
5b08693ba2 Beep Support Updates 2018-08-21 16:45:22 -07:00
Wayne Warthen
b084b075e6 Merge pull request #10 from b1ackmai1er/master
Add startup beep support for SBC V2 using PSG on TMS or bit port on SBC RTC
2018-08-21 13:09:48 -07:00
b1ackmai1er
78267d5111 Beep support and cleanup 2018-08-20 19:42:28 +08:00
b1ackmai1er
f982a5e67b Fix to enable PSG without TMS 2018-08-20 19:40:39 +08:00
b1ackmai1er
b4a7805033 Changes to support SBC beep 2018-08-20 17:59:52 +08:00
b1ackmai1er
6bec8936a9 Changes to support SBC beep 2018-08-20 17:56:22 +08:00
b1ackmai1er
67deaf3949 Changes to support SBC beep 2018-08-20 17:52:07 +08:00
b1ackmai1er
0f6f1077c5 Changes to support SBC beep 2018-08-20 17:49:05 +08:00
b1ackmai1er
1d59af182e Changes to support SBC beep 2018-08-20 17:45:32 +08:00
b1ackmai1er
060418d5d9 Add supporting definitions for beep sound 2018-08-20 17:02:58 +08:00
b1ackmai1er
64901dcbbb Add beep driver for PSG and IOPort 2018-08-20 16:58:45 +08:00
b1ackmai1er
2e8d44d005 Add beep on boot 2018-08-20 16:56:05 +08:00
b1ackmai1er
c99293d94e Merge pull request #1 from wwarthen/master
Resync to master
2018-08-04 09:14:00 +08:00
Wayne Warthen
64f2e37ffb Add IM0 Mode to ACIA Driver 2018-08-03 16:46:44 -07:00
Wayne Warthen
716ee19f6c Merge pull request #9 from b1ackmai1er/master
Fixed wrong port address, cleanups and move big conditional structure to external file.
2018-08-03 12:02:58 -07:00
b1ackmai1er
1fc2017db5 Fix typo. 2018-08-03 22:45:13 +08:00
b1ackmai1er
e7cc7906c5 Fixes to port address and cleanups 2018-08-03 22:40:07 +08:00
b1ackmai1er
41c5eba034 Delete sio.asm 2018-08-03 22:38:58 +08:00
b1ackmai1er
f66b6f155e Fixes port address and cleanups 2018-08-03 22:37:17 +08:00
b1ackmai1er
add0f3df07 Separate the baud encoding conditional for readability 2018-08-03 19:46:24 +08:00
Wayne Warthen
34f55f6024 Fix Bug in SIO Driver Update 2018-08-02 15:10:46 -07:00
Wayne Warthen
331760cd5c Add IM0 Mode to SIO Driver 2018-08-02 14:51:18 -07:00
Wayne Warthen
42ad81285f Minor Cleanup 2018-08-01 16:36:04 -07:00
Wayne Warthen
14f73f3dd2 Merge pull request #8 from b1ackmai1er/master
SBC V2 - Zilog Peripherals support using RC2014 driver.
Credit to Phil Summers for this work.
2018-07-31 17:47:45 -07:00
b1ackmai1er
e768dc2d5f Add data bit setting support 2018-07-31 23:24:40 +08:00
b1ackmai1er
d0ee99fff2 Inline the serial format code and add stop bit setting 2018-07-30 23:14:15 +08:00
b1ackmai1er
1b565de9ce Fix incorrect equate causing RC build failure 2018-07-30 18:28:01 +08:00
b1ackmai1er
0a324564d5 Fix bad equate causing RC build to fail 2018-07-30 18:23:10 +08:00
b1ackmai1er
206b3ffcd2 Add configurable baud rate through mode.com 2018-07-29 23:09:58 +08:00
b1ackmai1er
398dec28e9 Add basic support for configurable port and baud 2018-07-29 17:34:20 +08:00
b1ackmai1er
0e8b6aecb7 Delete sio.asm 2018-07-29 17:31:27 +08:00
b1ackmai1er
5d0906aef6 Add basic support for configurable port and baud 2018-07-29 17:30:02 +08:00
b1ackmai1er
f1448fde6e Add basic support for configurable port and baud 2018-07-29 17:12:04 +08:00
b1ackmai1er
6d7ac7a06c Add Config defaults for multiplatform SIO 2018-07-29 16:23:56 +08:00
b1ackmai1er
0010dc8c81 Add Config defaults for multiplatform SIO 2018-07-29 15:46:46 +08:00
b1ackmai1er
d93a85c1d4 Add equated for configurable SIO platform and and missing serial baud rate equates 2018-07-29 15:05:56 +08:00
b1ackmai1er
490e3e49f8 Add definable base address for SIO 2018-07-29 14:48:01 +08:00
b1ackmai1er
0a2654a761 Add definable base address for SIO 2018-07-29 14:33:56 +08:00
Wayne Warthen
ae2c3b113c Fixed MODE Command Bug
Credit to Phil Summers
2018-07-24 14:12:19 -07:00
Wayne Warthen
d43ef1728c Update RomList 2018-06-06 11:55:43 -07:00
Wayne Warthen
cb9ead08c7 Finalize support for RC180 platform 2018-06-06 11:45:10 -07:00
Wayne Warthen
e0509aafe1 Minor Cleanup 2018-05-24 10:18:06 -07:00
Wayne Warthen
99b8409738 Added Diagnostic Port Support 2018-05-24 09:28:21 -07:00
Wayne Warthen
05641bdec0 RC180 Platform and XM Bug Fix
- Added RC180 platform (not tested!)
- Fixed file send problem in XModem on RC2014
- Added NZCOM distribution files to hard disk 0, slice 2
2018-05-21 16:18:54 -07:00
Wayne Warthen
b09f30ed41 PPIDE Driver Fix
Fixed missing DRV/HD register setup for writes in PPIDE driver.
2018-05-03 12:39:51 -07:00
Wayne Warthen
e1d2eb1ecd Comments in PowerShell Build Script 2018-05-02 15:04:47 -07:00
Wayne Warthen
2872381c7d Handle LST: better
- LST: auto mapped to second serial port if available
- Minor updates to Prop ANSI emulation
2018-05-01 09:10:12 -07:00
Wayne Warthen
1f594e1004 Finalize v2.9.1-pre.1 2018-04-19 19:56:20 -07:00
Wayne Warthen
0834762f6e Add BEL functionality from Michael Schweikert
Added BEL functionality to Propeller-based consoles
Build directory cleanup
2018-03-12 16:24:46 -07:00
Wayne Warthen
091d171f02 Finalize v2.9.1 Prerelease 0
Added character attributes on propeller-based consoles.
2018-03-11 17:35:04 -07:00
Wayne Warthen
86b11cca5f Minor SD driver fix
Fix SD driver to build properly when IDE driver is not in use.
2018-02-27 12:45:25 -08:00
Wayne Warthen
2232c87fdb Update Win32DiskImager to v1.0 2018-01-29 12:11:29 -08:00
Wayne Warthen
82619da3fd Add TUNE application
The TUNE application replaces the previous PTXPLAY application and now
supports MYM sounds files in addition to PT2 and PT3.
2018-01-28 17:22:48 -08:00
Wayne Warthen
aef2561f2a Merge pull request #6 from electrified/add-rc2014-rtc-support
Add support for DS1302 clock on RC2014
2018-01-27 11:34:12 -08:00
Ed
dc26d38a36 Add support for DS1302 clock on RC2014 2018-01-27 17:35:03 +00:00
Wayne Warthen
55d7b5e80e Finalize v2.9.0 2018-01-26 16:17:30 -08:00
Wayne Warthen
231239f43f Finalize v2.9.0 Prerelease 0
- New function dispatching logic
- Refactored interrupt management
2018-01-16 16:30:37 -08:00
Wayne Warthen
5fc01b4100 Finalize RC2014 floppy updates
RC2014 floppy controller support completed and tested for Scott Baker
SMC and WDC controller modules.  FDU application updated as well.
2018-01-08 16:45:43 -08:00
Wayne Warthen
768e41c933 New disk driver interface logic 2018-01-07 15:04:00 -08:00
Wayne Warthen
cedb584722 Merge pull request #5 from electrified/fix-rc2014-cf-config
CF IDE mode setting was being written to PPIDE variable in RC2014 standard config
2018-01-07 08:50:50 -08:00
ed
234bb0bbe5 IDE mode setting was being written to PPIDE variable in RC2014
standard config
2018-01-07 10:41:03 +00:00
Wayne Warthen
fb63612ebf RC2014 Floppy
- Support for RC2014 SMB Floppy (WDC & SMC), but not yet tested.
- Final work on Multi-Sector I/O
2018-01-01 16:12:12 -08:00
Wayne Warthen
c9869344e2 Disk Driver Multi-Sector I/O
Added multi-sector I/O to all disk drivers.
Added SMB variant to PPIDE driver.
2017-12-29 16:57:06 -08:00
Wayne Warthen
409c306474 Update Survey App
Updated SURVEY app to properly handle Z80 16 bit I/O port addressing.
Minor improvements to FDU.
2017-12-17 14:53:11 -08:00
Wayne Warthen
05376b6173 FDU App Updates
- Improve read/write sector performance in FDU to avoid spurious overrun
errors.
- Fix boot loader under UNA
2017-12-16 16:45:28 -08:00
Wayne Warthen
09d0e3754f Fix Boot Loader for UNA 2017-12-12 19:49:14 -08:00
Wayne Warthen
feee56990a Finalize 2.8.6
- Support for RC2014
- Handle IDE disk spinup without timing out
2017-12-10 19:54:34 -08:00
Wayne Warthen
b02d9bf1fa Finalize v2.8.6-pre.1 2017-12-06 13:11:56 -08:00
Wayne Warthen
984a4c6ff3 Fix Build Script Issue 2017-12-03 18:04:19 -08:00
Wayne Warthen
99ec7049f7 Implement Auto PROFILE.SUB Execution on Boot
Updated CBIOS to look for PROFILE.SUB on the boot drive and SUBMIT it
automatically at cold boot if it exists.  Also patched SUBMIT.COM to
force temporary file onto A: to ensure immediate execution of SUBMITed
files.
2017-12-03 15:17:44 -08:00
Wayne Warthen
4a9d3c654f Modify RTC.COM to dynamically adjust to hardware
RTC.COM is now one application instead of one per hardware platform.  It
adjusts to the running platform by querying HBIOS for the active
platform.
2017-11-29 18:39:49 -08:00
Wayne Warthen
c171dd329d Add Support for PPIDE on RC2014 2017-11-28 17:30:41 -08:00
Wayne Warthen
584c3b0aa3 Fix DSD Detection 2017-11-26 21:21:46 -08:00
Wayne Warthen
a2cfb95574 Merge pull request #4 from electrified/adjustments-for-scott-bakers-sio
Adjust port mapping for Scott Baker's SIO board
2017-11-26 19:21:33 -08:00
Ed
46b74f8e94 Adjust port mapping for Scott Baker's SIO board 2017-11-26 17:47:55 +00:00
Wayne Warthen
d27fa8a587 Add Option for SMB SIO Module 2017-11-24 21:02:32 -08:00
Wayne Warthen
4579b1fd9c Merge pull request #3 from electrified/ppide-fix
Don't care if disabling 8-bit transfers fails on 16-bit drives
2017-11-24 08:20:04 -08:00
Ed
8e7f41cd08 Don't care if disabling 8-bit transfers fails on 16-bit drives 2017-11-23 23:03:55 +00:00
Wayne Warthen
4c91264062 Update Documentation Files
Updated ReadMe files to reflect addition of RC2014 platform.
2017-11-22 13:41:23 -08:00
Wayne Warthen
366bb7301f Propagate IDE Fix to PPIDE
Credit to Ed Brindley
2017-11-22 13:26:40 -08:00
Wayne Warthen
9635d5933e Finalize v2.8.6 Prerelease 0
Adds ACIA support
Adds IM1 interrupt chaining
Fixes IDE SETFEAT issue
2017-11-21 17:04:23 -08:00
Wayne Warthen
ad55977d4a Fix IDE Detection on RC2014 2017-11-09 14:12:10 -08:00
Wayne Warthen
8863b071da XMODEM Bug Fixes 2017-11-09 12:10:22 -08:00
Wayne Warthen
a60eb57a47 Add RC2014 Support to XMODEM App 2017-11-08 19:11:15 -08:00
Wayne Warthen
51a33aaf0b SIO Driver Interrupt Based Receive 2017-11-07 18:21:11 -08:00
Wayne Warthen
a5bb6a2b7e Preliminary RC2014 Support 2017-11-05 18:12:02 -08:00
Wayne Warthen
7014a33285 Finalize 2.8.5
Clean up support in TMS driver for SCG board.
2017-10-09 15:31:23 -07:00
Wayne Warthen
e8d9671753 Finalize v2.8.4
Small bug fixes
2017-09-03 17:22:53 -07:00
Wayne Warthen
8deca61094 Enhanced FDU
FD renamed to FDU and enhanced to select FDC at startup to eliminate
multiple build variations.
2017-09-02 15:43:02 -07:00
Wayne Warthen
d5936b7fb5 Minor App Updates
Improve handling of UNA in XModem and MODE commands.
2017-08-28 17:15:28 -07:00
Wayne Warthen
4fdb89d651 Minor fixes 2017-08-24 15:06:04 -07:00
Wayne Warthen
c4e9a47048 XModem Enhancements
Added dynamic CPU speed adaptation to XModem
2017-08-24 12:50:24 -07:00
Wayne Warthen
2fd22922d5 Finalize 2.8.3 2017-08-23 20:32:44 -07:00
Wayne Warthen
1060cfd441 Added Mode command 2017-08-23 18:22:58 -07:00
Wayne Warthen
7db00165dd App updates
- All XM variants integrated into a single XM.COM app that auto-detects
primary serial port.
- Include all relevant FD variants for each platform.
2017-08-10 22:16:03 -07:00
Wayne Warthen
9d9018b455 Finalize Release 2.8.2
Minor correction to VGA3 timing parameters
2017-07-18 16:15:16 -07:00
Wayne Warthen
eb460e885a Finalize Release v2.8.1 2017-07-11 18:53:35 -07:00
Wayne Warthen
8ca34eb81f UNA Update
Update to current version of UNA and fix FDISK80 breakage.
2017-07-06 18:03:18 -07:00
Wayne Warthen
f509b0fa01 Finalize Release v2.8.0 2017-07-04 15:35:01 -07:00
Wayne Warthen
75282a33c9 Fix Filename Case 2017-06-30 21:55:30 -07:00
Wayne Warthen
db89164e1e Fix Filename Case 2017-06-30 21:55:00 -07:00
Wayne Warthen
fb6b1fd54a Add VGA3 Support 2017-06-30 21:50:10 -07:00
Wayne Warthen
939a822f65 More BPBIOS Cleanup 2016-11-28 21:19:22 -08:00
Wayne Warthen
4ab1cadfad BPBIOS and Date Stamping Cleanups
- Improved BPBIOS compatibility
- Enhanced STAMPS.DAT w/ NZT stamp
2016-11-27 20:15:12 -08:00
Wayne Warthen
97c36c0efc BPBIOS Related Fixes 2016-11-23 19:31:57 -08:00
Wayne Warthen
8d02b02ab4 Cleanup 2016-10-03 15:27:18 -07:00
Wayne Warthen
f1ada661c1 Additional directory cleanup 2016-09-30 20:00:13 -07:00
Wayne Warthen
90d7b9673c Revamp directory structure 2016-09-30 18:07:16 -07:00
Wayne Warthen
5e6196d541 Update Doc build process 2016-09-29 17:01:46 -07:00
Wayne Warthen
e350aa0672 Interrupt framework implementation
- Interrupt framework
- Documentation in progress w/ Latex conversion
2016-07-10 21:55:00 -07:00
Wayne Warthen
c478a04b48 Prerelease 5 2016-06-03 18:13:15 -07:00
Wayne Warthen
928a64147c Bug Fixes 2016-06-03 17:56:22 -07:00
Wayne Warthen
a57736ef2b Minor cleanup 2016-06-01 21:20:59 -07:00
Wayne Warthen
62641ba4a6 Prerelease 4 2016-05-29 16:52:28 -07:00
Wayne Warthen
5f205dd90b Boot and Bank Layout Cleanup
Revised hbios.asm to compile in 3 modes (ROM/APP/IMG boot).  Updated and
simplified ROM bank assignments.
2016-05-29 07:56:01 -07:00
Wayne Warthen
5115684dc2 Fix Compilation Error in XIO.ASM 2016-05-22 07:59:42 -07:00
Wayne Warthen
a2566d4de5 Revise Serial Driver Initialization
- Implement PREINIT
- Use detected CPU speed for initialization
2016-05-22 07:52:13 -07:00
Wayne Warthen
68c9813390 Bump Version 2016-04-26 16:18:02 -07:00
Wayne Warthen
0653a42984 Fix Delay Initialization 2016-04-25 22:12:13 -07:00
Wayne Warthen
a7d4459a01 Preserve Partition Table in SYSCOPY
Updated FLASH to latest version
2016-04-24 21:51:37 -07:00
Wayne Warthen
7da6c582a0 Bug Fixes 2016-04-22 15:45:10 -07:00
Wayne Warthen
684f59a73c Bug Fixes in ASSIGN Command 2016-04-21 13:16:41 -07:00
Wayne Warthen
97a09a6e33 Revised Serial Device Config Routines 2016-04-20 22:06:32 -07:00
Wayne Warthen
9e5a1ea41b UART Config Changes 2016-04-19 15:06:06 -07:00
Wayne Warthen
07d833473c Bug Fixes 2016-04-14 17:29:45 -07:00
Wayne Warthen
31f5388f9e Implement HBIOS Reset Function 2016-04-10 17:24:27 -07:00
Wayne Warthen
521af19e50 VDA Device Initialization Flow Cleanup 2016-04-10 16:21:29 -07:00
Wayne Warthen
9605d80b99 Code Cleaning 2016-04-08 18:04:06 -07:00
Wayne Warthen
67ede23694 Clean Up Drive Assignment Code 2016-04-07 22:56:46 -07:00
Wayne Warthen
5154713644 Config Files Overhaul 2016-04-06 18:14:14 -07:00
Wayne Warthen
5bb7bd6c44 Revise BPBIOS Prototype
Revise BPBIOS source to accommodate recent changes in HBIOS API.
2016-03-30 22:18:54 -07:00
Wayne Warthen
8fe3526ecd API Revisions / Cleanup
- Improved banked copy size and performance
- Revised API for SETCPY, BNKCPY, SETBNK, and GETBNK
2016-03-30 17:10:08 -07:00
Wayne Warthen
f9c7f30d2d Bug Fixes 2016-03-25 23:06:18 -07:00
Wayne Warthen
8aedfbb7f3 Add Device Summary Display 2016-03-25 21:20:05 -07:00
Wayne Warthen
b4fc05acfb Incorporate FDISK80 2016-03-21 17:05:57 -07:00
Wayne Warthen
5adbef5f68 Revised Emulation Services 2016-03-19 21:21:17 -07:00
Wayne Warthen
b63dfdf587 Revised Disk API 2016-03-10 17:44:42 -08:00
Wayne Warthen
6354bd300d Revised disk API 2016-03-04 20:09:47 -08:00
Wayne Warthen
53a74f78d7 HBIOS driver and BPBIOS refinements
- Refined sd, ide, and ppide drivers to improve hardware compatibility
- Improved BPBIOS build process
2016-02-01 14:50:58 -08:00
Wayne Warthen
b67106889e Add HBIOS Heap Memory
- New heap memory functions
- Restructured new disk I/O functions
2016-01-10 16:01:33 -08:00
Wayne Warthen
25974843e3 Storage Driver Refactoring 2015-12-06 20:10:00 -08:00
Wayne Warthen
6d8c2283b9 ParPortProp Driver Refactoring 2015-11-25 15:43:07 -08:00
Wayne Warthen
df74f73d5b PROPIO Driver Refactoring 2015-11-21 13:16:23 -08:00
Wayne Warthen
099172e44e IDE and PPIDE driver refactoring 2015-11-07 16:50:58 -08:00
Wayne Warthen
4626695b52 Overhaul PPIDE driver and sync with IDE driver 2015-11-05 19:37:49 -08:00
Wayne Warthen
8fbeb6eecc Continued cleanup of SD and IDE driver code 2015-10-24 12:52:27 -07:00
Wayne Warthen
d90c4dfed2 Correct capacity and geometry functions in sd and hsdk drivers 2015-10-04 12:22:45 -07:00
Wayne Warthen
803bb6a87d Refactor SD driver 2015-10-04 08:08:00 -07:00
Wayne Warthen
31d58909ce Refactor IDE driver
- Dynamic detection of devices
- Significant code clean up
2015-09-07 20:25:21 -07:00
Wayne Warthen
522b061fe6 Start of new geometry/capacity functions in HBIOS 2015-09-05 15:35:06 -07:00
Wayne Warthen
63c0289e28 Handle Output directory better
Git refuses to store empty directories.  So, build scripts modified to
create Output directory as needed.
2015-08-21 20:57:48 -07:00
Wayne Warthen
a0cc974323 Refactor Loader Code
Move loader code to an include file and create separate wrappers for
each of the loader functions.
2015-08-21 19:59:45 -07:00
Wayne Warthen
20f874d146 Create .gitattributes 2015-08-19 20:06:58 -07:00
wwarthen
de52c4f560 Reintegrate wbw -> trunk 2015-08-19 17:34:42 +00:00
wwarthen
c754fcdb99 Reintegrate wbw -> trunk 2015-04-08 04:09:08 +00:00
wwarthen
2148c3e1f7 Reintegrate wbw -> trunk 2015-04-03 06:02:14 +00:00
wwarthen
cc51d012de Reintegrate wbw -> trunk 2015-03-23 01:50:45 +00:00
wwarthen
ea547a012b Reintegrate wbw -> trunk 2015-03-16 01:37:54 +00:00
wwarthen
8e535d53f4 Reintegrate wbw26 -> trunk 2014-10-26 03:02:33 +00:00
wwarthen
5e08740456 Reintegrate wbw26 -> trunk 2014-10-18 19:02:13 +00:00
wwarthen
72dc548e6e Reintegrate wbw26 -> trunk 2014-10-14 03:20:39 +00:00
wwarthen
594ae07aa6 Reintegrate wbw26 -> trunk 2014-10-13 15:47:16 +00:00
wwarthen
a8491cc5e0 Reintegrate wbw26 -> trunk 2014-10-13 15:24:20 +00:00
wwarthen
74b80aaeeb Reintegrate wbw -> trunk 2014-09-08 04:11:55 +00:00
wwarthen
09da338d05 Reintegrate wbw -> trunk 2014-08-30 20:50:48 +00:00
wwarthen
3396ba3513 Reintegrate wbw -> trunk 2014-08-30 20:09:07 +00:00
wwarthen
d211dc2222 Reintegrate wbw -> trunk 2014-05-04 23:19:46 +00:00
wwarthen
2e4eb2fb1b Reintegrate wbw -> trunk 2014-03-02 02:37:34 +00:00
wwarthen
63b624fa0c Reintegrate wbw -> trunk 2014-01-21 02:09:03 +00:00
wwarthen
7c547f515a Reintegrate wbw -> trunk 2013-11-22 23:16:39 +00:00
wayne
762f325e10 Fix 2013-09-30 06:05:14 +00:00
wayne
b030913abd Reintegrate wbw -> trunk 2013-09-30 04:44:49 +00:00
wayne
ff5bf3c669 Reintegrate wbw -> trunk 2013-06-25 23:54:23 +00:00
wayne
bf778fafe3 Reintegrate wbw -> trunk 2013-06-23 04:52:57 +00:00
wayne
513b4c615a Reintegrate wbw -> trunk 2013-06-22 04:24:27 +00:00
wayne
5bd0f69467 Reintegrate wbw -> trunk 2013-06-15 00:28:15 +00:00
wayne
82351f2c5f Reintegrate wbw -> trunk 2013-06-08 04:58:34 +00:00
wayne
f5c27ce732 Reintegrate wbw -> trunk 2013-05-25 06:08:10 +00:00
wayne
7c2a1b447b Reintegrate wbw -> trunk 2013-05-17 18:42:24 +00:00
wayne
f5f4892f81 Reintegrate wbw -> trunk 2013-05-17 04:05:28 +00:00
wayne
91dafd7191 Reintegrate wbw -> trunk 2013-05-11 03:36:41 +00:00
wayne
a010260c8c Reintegrate wbw -> trunk 2013-05-10 02:38:16 +00:00
wayne
ce1fa57cb1 Reintegrate wbw -> trunk 2013-04-10 04:13:47 +00:00
wayne
a11f38fdbd Reintegrate wbw -> trunk 2013-04-07 06:17:07 +00:00
wayne
6ee79e5a7e Reintegrate wbw -> trunk 2013-04-04 05:00:45 +00:00
wayne
4ee7491267 Reintegrate wbw -> trunk 2013-04-03 04:05:13 +00:00
wayne
4c81851727 Reintegrate wbw -> trunk 2013-04-01 01:00:11 +00:00
wayne
aa44b9de69 Reintegrate dwg -> trunk 2013-04-01 00:39:56 +00:00
wayne
faf62adfe3 Reintegrate dwg -> trunk 2013-04-01 00:37:12 +00:00
wayne
9c4df8fa38 Fixing SVN 2013-04-01 00:34:04 +00:00
wayne
01b68baf68 Reintegrate dwg -> trunk 2013-04-01 00:20:45 +00:00
wayne
d80c43d83b Reintegrate wbw -> trunk 2013-03-31 00:49:34 +00:00
wayne
4356167cbc Reintegrate wbw -> trunk 2013-03-19 21:25:25 +00:00
wayne
8f4e110ebe Reintegrate dwg -> trunk 2013-03-19 21:14:17 +00:00
wayne
21ef5a3121 Reintegrate wbw -> trunk 2013-03-19 16:18:23 +00:00
wayne
9eb8a751dc Reintegrate wbw -> trunk 2013-03-19 03:52:24 +00:00
wayne
7b2085be52 Reintegrate wbw -> trunk 2013-02-19 05:13:44 +00:00
wayne
ad4c680dff Reintegrate s100 -> trunk 2013-02-19 04:52:58 +00:00
wayne
9f565ecebc Reintegrate dwg -> trunk 2013-02-19 04:50:18 +00:00
wayne
284983a81b Reintegrate dwg -> trunk 2013-02-19 04:34:23 +00:00
wayne
85fe28c43e Reintegrate dwg -> trunk 2013-02-16 06:42:29 +00:00
wayne
9e2bdf762b Reintegrate wbw -> trunk 2013-01-30 05:51:28 +00:00
wayne
8b9af0e7f3 Reintegrate s100 -> trunk 2013-01-30 05:41:50 +00:00
wayne
4fd572558e Reintegrate wbw -> trunk 2013-01-24 00:16:10 +00:00
wayne
202e23d6d9 Reintegrate s100 -> trunk 2013-01-23 15:23:07 +00:00
2329 changed files with 349230 additions and 53390 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
# Leave all line endings alone!
* -text

31
.github/workflows/commit.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Commit Build
on:
push:
branches:
- master
tags-ignore:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: rlespinasse/github-slug-action@1.1.0
- uses: actions/checkout@v2
- name: Build
run: |
sudo apt-get install libncurses-dev
make
make clean
rm -rf .git*
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: RomWBW-${{env.GITHUB_REF_SLUG}}-${{env.GITHUB_SHA_SHORT}}
path: .

51
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,51 @@
name: Release Build
on:
release:
types: published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Package Label
run: |
LABEL=`echo "$GITHUB_REF" | sed "s|^refs/tags/||"`
echo "::set-env name=PKGLBL::$LABEL"
- name: Display Diagnostics
run: |
echo PKGLBL: "$PKGLBL"
echo Upload URL: "${{github.event.release.upload_url}}"
echo GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"
- name: Build
run: |
sudo apt-get install libncurses-dev
make
make clean
rm -rf .git*
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: RomWBW-${{env.PKGLBL}}-Package
path: .
- name: Create Package Archive
run: |
zip -r Package.zip .
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
upload_url: ${{github.event.release.upload_url}}
asset_path: Package.zip
asset_name: RomWBW-${{env.PKGLBL}}-Package.zip
asset_content_type: application/zip

96
.gitignore vendored Normal file
View File

@@ -0,0 +1,96 @@
# Not sure what patterns to apply
# So ignoring all generated files explicitly
**/*.[Bb][Ii][Nn]
**/*.[Cc][Oo][Mm]
**/*.[Rr][Oo][Mm]
**/*.com
**/*.eeprom
**/*.hex
**/*.img
**/*.lib
**/*.lst
**/*.o
**/*.prn
**/*.rel
**/*.sym
**/*.sys
**/*.tmp
**/*/font*.asm
Binary/**/*.mym
Binary/**/*.pt3
Source/**/eeprom
Source/Apps/Assign.com
Source/Apps/FDU/FDU.COM
Source/Apps/Format.com
Source/Apps/IntTest.com
Source/Apps/Mode.com
Source/Apps/OSLdr.com
Source/Apps/RTC.com
Source/Apps/SysCopy.com
Source/Apps/SysGen.com
Source/Apps/Talk.com
Source/Apps/Timer.com
Source/Apps/Tune/Tune.com
Source/BPBIOS/bpsys.bak
Source/BPBIOS/bpsys.dat
Source/BPBIOS/def-ww.lib
Source/CPM3/bios3.spr
Source/CPM3/bnkbios3.spr
Source/CPM3/gencpm.dat
Source/CPM3/options.lib
Source/CPM3/zpmbios3.spr
Source/HBIOS/Blank512KB.dat
Source/HBIOS/build.inc
Source/Images/blank144
Source/Images/blankhd
Source/Prop/Spin/ParPortProp.list
Source/Prop/Spin/PropIO.list
Source/Prop/Spin/PropIO2.list
Source/ZPM3/bnkbios3.spr
Source/ZPM3/gencpm.com
Source/ZPM3/gencpm.com
Source/ZPM3/gencpm.dat
Tools/Linux
Tools/Darwin
Tools/unix/bin2asm/bin2asm
Tools/unix/cpmtools/cpmchattr
Tools/unix/cpmtools/cpmchmod
Tools/unix/cpmtools/cpmcp
Tools/unix/cpmtools/cpmls
Tools/unix/cpmtools/cpmrm
Tools/unix/cpmtools/fsck.cpm
Tools/unix/cpmtools/fsed.cpm
Tools/unix/cpmtools/mkfs.cpm
Tools/unix/lzsa/lzsa
Tools/unix/uz80as/uz80as
Tools/unix/zx/config.h
Tools/unix/zx/zx
!Source/ver.lib
!Source/Apps/FAT/FAT.COM
!Source/BPBIOS/bpbuild.com
!Source/BPBIOS/movp112.com
!Source/BPBIOS/Z34RCP11/cledinst.com
!Source/BPBIOS/Z34RCP11/cledsave.com
!Source/Fonts
!Source/Images/**/*.[Cc][Oo][Mm]
!Source/RomDsk/**/*.[Cc][Oo][Mm]
!Source/UBIOS/FSFAT.BIN
!Source/UBIOS/UNA-BIOS.BIN
!Source/ZCCP/*.[Cc][Oo][Mm]
!Source/ZCPR-DJ/*.[Cc][Oo][Mm]
!Source/ZPM3/*.[Cc][Oo][Mm]
!Source/ZSDOS/*.[Cc][Oo][Mm]
!Tools/cpm/bin
!Tools/unix/zx
!Tools/zx
Source/ZPM3/gencpm.com
Source/ZPM3/startzpm.com
Source/ZPM3/zccp.com
Source/ZPM3/zpmldr.com

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,20 +0,0 @@
/****************************/
/* applvers.h dwg - 2.0.0.0 */
/****************************/
#define A_RMJ 2
#define A_RMN 0
#define A_RUP 0
#define A_RTP 0
#define A_MONTH 6
#define A_DAY 10
#define A_YEAR 2012
#define A_YR 12
/********************/
/* eof - applvers.h */
/********************/


View File

@@ -1,67 +0,0 @@
; asmiface.asm 6/4/2012 dwg -
extrn .begin,.chl,.swt
extrn csave,cret,.move
global xrega_,1
global xregbc_,2
global xregde_,2
global xreghl_,2
PUBLIC asmif_
asmif_: lxi d,.2
call csave
LXI H,8-.2 ; pick up 1st parm "function address"
DAD SP
MOV E,M
INX H
MOV D,M
xchg
shld callad+1
LXI H,10-.2
DAD SP
MOV E,M
INX H
MOV D,M ; DE = parm
xchg
shld xregbc_
LXI H,12-.2
DAD SP
MOV E,M
INX H
MOV D,M
xchg
shld xregde_
LXI H,14-.2
DAD SP
MOV E,M
INX H
MOV D,M
xchg
shld xreghl_
lhld xregbc_
mov b,h
mov c,l ; setup B&C
lhld xregde_
xchg ; setup D&E
lhld xreghl_ ; setup H&L
callad: call 0e639h ; setlu
sta xrega_
shld xreghl_
xchg
shld xregde_
mov l,c
mov h,b
shld xregbc_
RET ; HL has return value
.2 EQU 0
END


View File

@@ -1,14 +0,0 @@
/*****************************/
/* asmiface.H 6/4/2012 dwg - */
/*****************************/
extern char xrega;
extern unsigned int xregbc;
extern unsigned int xregde;
extern unsigned int xreghl;
extern asmif(); /* asmif(0xe60,bc,de,hl); */
/********************/
/* eof - asmiface.h */
/********************/


View File

@@ -1,71 +0,0 @@
; bdoscall.asm 3/10/2012 dwg - bdos binding for Aztec C
global drega_,1
global dregbc_,2
global dregde_,2
global dreghl_,2
PUBLIC lurst_
lurst_:
push b
push d
push h
push psw
mvi c,37
lxi d,127
lxi b,127
call 5
pop psw
pop h
pop d
pop b
RET
PUBLIC bdoscall_
bdoscall_:
push b
push d
push h
push psw
lhld dregbc_
mov b,h
mov c,l
lhld dregde_
mov d,h
mov e,l
lhld dreghl_
lda drega_
call 5
sta drega_
shld dreghl_
mov l,e
mov h,d
shld dregde_
mov l,c
mov h,b
shld dregbc_
pop psw
pop h
pop d
pop b
RET
END


View File

@@ -1,8 +0,0 @@
/* bdoscall.h 3/10/2012 dwg - header file for bdoscall */
extern char drega;
extern unsigned int dregbc;
extern unsigned int dregde;
extern unsigned int dreghl;
extern bdoscall();


Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,80 +0,0 @@
; bioscall.asm 3/10/2012 dwg - bios binding for Aztec C
global irega_,1
global iregbc_,2
global iregde_,2
global ireghl_,2
public getmeta_
getmeta_:
push psw
push b
push d
push h
lxi b,4
lxi d,0
call 0e61bh
lxi d,0
call 0e61eh
lxi d,11
call 0e621h
lxi d,80h
call 0e624h
call 0e627h
pop h
pop d
pop b
pop psw
ret
PUBLIC bioscall_
bioscall_:
push b
push d
push h
push psw
lhld iregbc_
mov b,h
mov c,l
lhld iregde_
mov d,h
mov e,l
lhld ireghl_
shld mycall+1
lda irega_
mycall: call 5
sta irega_
shld ireghl_
mov l,e
mov h,d
shld iregde_
mov l,c
mov h,b
shld iregbc_
pop psw
pop h
pop d
pop b
RET
END


View File

@@ -1,8 +0,0 @@
/* bioscall.h 3/10/2012 dwg - header file for bdoscall */
extern char irega;
extern unsigned int iregbc;
extern unsigned int iregde;
extern unsigned int ireghl;
extern bioscall();


View File

@@ -1,41 +0,0 @@
/* cbanner.c 3/12/2012 dwg - */
#include "portab.h"
#include "globals.h"
#include "applvers.h"
char * lines = "----------------------------------------";
char * line1 = "12345678.123 mm/dd/yyyy Version x.x.x.x";
char * line2 = "S/N CPM80-DWG-654321 Licensed under GPL3";
char * line3 = "Copyright (C) 2011-12 Douglas W. Goodall";
sbanner(program)
char *program;
{
char szTemp[128];
printf("%s ",program);
printf("%2d/%2d/%4d ",A_MONTH,A_DAY,A_YEAR);
printf("Version %d.%d.%d.%d ",A_RMJ,A_RMN,A_RUP,A_RTP);
printf("COPR Douglas Goodall Licensed w/GPLv3\n");
}
banner(program)
char *program;
{
char szTemp[128];
printf("%s\n",lines);
strcpy(szTemp,program);
while(12 > strlen(szTemp)) {
strcat(szTemp," ");
}
printf("%s ",szTemp);
printf("%2d/%2d/%4d ",A_MONTH,A_DAY,A_YEAR);
printf("Version %d.%d.%d.%d\n",A_RMJ,A_RMN,A_RUP,A_RTP);
printf("%s\n",line2);
printf("%s\n",line3);
printf("%s\n",lines);
}


View File

@@ -1,133 +0,0 @@
/* chars.c 6/7/2012 dwg - test command line arguments */
#include "stdio.h"
#include "portab.h"
#include "globals.h"
#include "std.h"
#include "cpm80.h"
#include "cpmappl.h"
#include "applvers.h"
#define TOP 0
#define LEFT 4
char map[256] =
{
/* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 0 */
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, /* 1 */
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 2 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 3 0 - 9 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 4 A - O */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 5 P - Z */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 6 a - o */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, /* 7 p - z */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 8 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 9 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* A */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* B 0 - 9 */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* C A - O */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* D P - Z */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* E a - o */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 /* F p - z */
};
char attroff[] = { 27, '[', 'm', 0 };
char attrbold[] = { 27, '[', '1', 'm', 0 };
char attrlow[] = { 27, '[', '2', 'm', 0 };
char attrundr[] = { 27, '[', '4', 'm', 0 };
char attrblnk[] = { 27, '[', '5', 'm', 0 };
char attrrevs[] = { 27, '[', '7', 'm', 0 };
char attrinvs[] = { 27, '[', '8', 'm', 0 };
char graphon[] = { 27, 'F', 0 };
char graphoff[] = { 27, 'G', 0 };
char atreset[] = "0";
char atbold[] = "1";
char atdim[] = "2";
char atundrscr[] = "4";
char atblink[] = "5";
char atrevs[] = "7";
char athidden[] = "8";
char fgblack[] = "30";
char fgred[] = "31";
char fggreen[] = "32";
char fgyellow[] = "33";
char fgblue[] = "34";
char fgmagenta[] = "35";
char fgcyan[] = "36";
char fgwhite[] = "37";
char bgblack[] = "40";
char bgred[] = "41";
char bggreen[] = "42";
char bgyellow[] = "43";
char bgblue[] = "44";
char bgmagenta[] = "45";
char bgcyan[] = "46";
char bgwhite[] = "47";
dispattr(attr,fg,bg)
char * attr;
char * fg;
char * bg;
{
printf("%c[%s;%s;%sm",27,attr,fg,bg);
}
int main(argc,argv)
int argc;
char *argv[];
{
int i,j,k;
int x,y;
if(1 < argc) {
for(i=1;i<argc;i++) {
printf("%c",atoi(argv[i]));
}
} else {
crtinit();
crtclr();
crtlc(0,0);
dispattr(atbold,fggreen,bgblack);
banner("CHARS");
printf("%s",attroff);
dispattr(atbold,fgcyan,bgblack);
for(x=0;x<16;x++) {
crtlc(TOP+6,LEFT+(x*4)+5);
printf("[%x]",x);
}
printf("%s",attroff);
for(y=0;y<16;y++) {
crtlc(TOP+y+7,LEFT+0);
dispattr(atbold,fgcyan,bgblack);
printf("[%x]",y);
printf("%s",attroff);
for(x=0;x<16;x++) {
crtlc(TOP+y+7,LEFT+(x*4)+6);
if(1 == map[(y*16)+x]) {
printf(".");
} else {
printf("%c",(y*16)+x);
}
}
dispattr(atbold,fgcyan,bgblack);
printf(" [%x]",y);
printf("%s",attroff);
}
}
return 0;
}


View File

@@ -1,57 +0,0 @@
/* clogical.c 6/4/2012 dwg - */
#include "portab.h"
#include "cpmbios.h"
#include "asmiface.h"
lugcur(drive)
{
asmif(pGETLU,drive,0,0);
return xregde;
}
lugnum(drive)
{
asmif(pGETLU,drive,0,0);
return xreghl;
}
lugdu(drive)
{
asmif(pGETLU,drive,0,0);
return xregbc>>8;
}
luscur(drive,lunum)
{
asmif(pGETLU,drive,0,0);
/* A = Result 0=OK */
/* B = devunit */
/* DE = current */
/* HL = numlu */
/* BC = devunit*256+drive */
/* DE = current */
/* HL = numlu */
asmif(pSETLU,xregbc,lunum,xreghl);
}
lusnum(drive,numlu)
{
asmif(pGETLU,drive,0,0);
/* A = Result 0=OK */
/* B = devunit */
/* DE = current */
/* HL = numlu */
/* BC = devunit*256+drive */
/* DE = current */
/* HL = numlu */
asmif(pSETLU,xregbc,xregde,numlu);
}
/********************/
/* eof - clogical.c */
/********************/


View File

@@ -1,18 +0,0 @@
/*****************************/
/* clogical.H 6/4/2012 dwg - */
/*****************************/
#define METATRK 0
#define METASEC 11
extern lugdu();
extern lugcur();
extern luscur();
extern lugnum();
extern lusnum();
/********************/
/* eof - clogical.h */
/********************/


View File

@@ -1,53 +0,0 @@
/* cmemory.c 3/13/2012 dwg - */
#include "portab.h"
/* #include "cpmbind.h" */
memcmp(xptr,yptr,count)
u8 * xptr;
u8 * yptr;
int count;
{
u8 * x;
u8 * y;
int i;
x = xptr;
y = yptr;
for(i=0;i<count;i++) {
if(*x++ != *y++) return FALSE;
}
return TRUE;
}
memcpy(dstptr,srcptr,count)
u8 * dstptr;
u8 * srcptr;
int count;
{
u8 * s;
u8 * d;
int i;
s = srcptr;
d = dstptr;
for(i=0;i<count;i++) {
*d++ = *s++;
}
}
memset(dstptr,data,count)
u8 * dstptr;
u8 data;
u16 count;
{
u8 * p;
int i;
p = dstptr;
for(i=0;i<count;i++) {
*p++ = data;
}
}


View File

@@ -1,108 +0,0 @@
/* cnamept1.c 5/24/2012 dwg - added bootlu */
#include "stdio.h"
#include "stdlib.h"
#include "portab.h"
#include "std.h"
#include "cnfgdata.h"
#include "syscfg.h"
extern pager();
char cache[17];
cnamept1(syscfg)
struct SYSCFG * syscfg;
{
strcpy(cache,"syscfg->cnfgdata");
printf("syscfg->jmp jp 0%04xh",syscfg->jmp.address);
pager();
printf("syscfg->cnfloc .dw 0%04xh",syscfg->cnfloc);
pager();
printf("syscfg->tstloc .dw 0%04xh",syscfg->tstloc);
pager();
printf("syscfg->varloc .dw 0%04xh",syscfg->varloc);
pager();
printf("%s.rmj = %d",cache,syscfg->cnfgdata.rmj);
pager();
printf("%s.rmn = %d",cache,syscfg->cnfgdata.rmn);
pager();
printf("%s.rup = %d",cache,syscfg->cnfgdata.rup);
pager();
printf("%s.rtp = %d",cache,syscfg->cnfgdata.rtp);
pager();
printf("%s.diskboot = ",cache);
switch(syscfg->cnfgdata.diskboot) {
case TRUE: printf("TRUE"); break;
case FALSE: printf("FALSE"); break;
}
pager();
printf("%s.devunit = 0x%02x",cache,
syscfg->cnfgdata.devunit);
pager();
printf("%s.bootlu = 0x%04x",cache,
syscfg->cnfgdata.bootlu);
pager();
printf("%s.freq = %dMHz",cache,syscfg->cnfgdata.freq);
pager();
printf("%s.platform = ",cache);
switch(syscfg->cnfgdata.platform) {
case PLT_N8VEM: printf("N8VEM"); break;
case PLT_ZETA: printf("ZETA"); break;
case PLT_N8: printf("N8"); break;
}
pager();
printf("%s.dioplat = ",cache);
switch(syscfg->cnfgdata.dioplat) {
case DPNONE: printf("DIOPLT_NONE"); break;
case DPDIO: printf("DIOPLT_DISKIO"); break;
case DPZETA: printf("DIOPLT_ZETA"); break;
case DPDIDE: printf("DIOPLT_DIDE"); break;
case DPN8: printf("DIOPLT_N8"); break;
case DPDIO3: printf("DIOPLT_DISKIO3"); break;
default: printf("Unknown"); break;
}
pager();
printf("%s.vdumode = ",cache);
switch(syscfg->cnfgdata.vdumode) {
case VPNONE: printf("VDUPLT_NONE"); break;
case VPVDU: printf("VDUPLT_VDU"); break;
case VPVDUC: printf("VDUPLT_VDUC"); break;
case VPPROPIO: printf("VDUPLT_PROPIO"); break;
case VPN8: printf("VDUPLT_VPN8"); break;
default: printf("Unknown!!"); break;
}
pager();
printf("%s.romsize = %d",cache,
syscfg->cnfgdata.romsize);
pager();
printf("%s.ramsize = %d",cache,
syscfg->cnfgdata.ramsize);
pager();
}
/********************/
/* eof - cnamecp1.c */
/********************/


View File

@@ -1,113 +0,0 @@
/* cnamept2.c 5/24/2012 dwg - */
#include "stdio.h"
#include "stdlib.h"
#include "portab.h"
#include "std.h"
#include "cnfgdata.h"
#include "syscfg.h"
extern pager();
char cache[17];
cnamept2(syscfg)
struct SYSCFG * syscfg;
{
strcpy(cache,"syscfg->cnfgdata");
printf("%s.clrramdk = ",cache);
switch(syscfg->cnfgdata.clrramdk) {
case CLRNEV: printf("CLR_NEVER"); break;
case CLRAUTO: printf("CLR_AUTO"); break;
case CLRALLW: printf("CLR_ALLWAYS"); break;
}
pager();
printf("%s.dskyenable = ",cache);
switch(syscfg->cnfgdata.dskyenable) {
case TRUE: printf("TRUE"); break;
case FALSE: printf("FALSE"); break;
}
pager();
printf("%s.uartenable = ",cache);
switch(syscfg->cnfgdata.uartenable) {
case TRUE: printf("TRUE"); break;
case FALSE: printf("FALSE"); break;
}
pager();
printf("%s.vduenable = ",cache);
switch(syscfg->cnfgdata.vduenable) {
case TRUE: printf("TRUE"); break;
case FALSE: printf("FALSE"); break;
}
pager();
printf("%s.fdenable = ",cache);
switch(syscfg->cnfgdata.fdenable) {
case TRUE: printf("TRUE"); break;
case FALSE: printf("FALSE"); break;
}
pager();
if(TRUE == syscfg->cnfgdata.fdenable) {
printf("%s.fdtrace = ",cache);
switch(syscfg->cnfgdata.fdtrace) {
case 0: printf("Silent"); break;
case 1: printf("Fatal Errors"); break;
case 2: printf("All Errors"); break;
case 3: printf("Everything"); break;
default: printf("Unknown!!"); break;
}
pager();
printf("%s.fdmedia = ",cache);
switch(syscfg->cnfgdata.fdmedia) {
case FDM720: printf("FDM720");
printf(" 3.5 720KB 2-sided 80 Trks 9 Sectors");
break;
case FDM144: printf("FDM144");
printf(" 3.5 1.44MB 2-sided 80 Trks 18 Sectors");
break;
case FDM360: printf("FDM360");
printf(" 5.25 360KB 2-sided 40 Trks 9 Sectors");
break;
case FDM120: printf("FDM120");
printf(" 3.5 1.2MB 2-sided 80 Trks 15 Sectors");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.fdmediaalt = ",cache);
switch(syscfg->cnfgdata.fdmediaalt) {
case FDM720: printf("FDM720");
printf(" 3.5 720KB 2-sided 80 Trks 9 Sectors");
break;
case FDM144: printf("FDM144");
printf(" 3.5 1.44MB 2-sided 80 Trks 18 Sectors");
break;
case FDM360: printf("FDM360");
printf(" 5.25 360KB 2-sided 40 Trks 9 Sectors");
break;
case FDM120: printf("FDM120");
printf(" 3.5 1.2MB 2-sided 80 Trks 15 Sectors");
break;
}
pager();
}
}
/********************/
/* eof - cnamept2.c */
/********************/


View File

@@ -1,216 +0,0 @@
/* cnamept2.c 5/24/2012 dwg - */
#include "stdio.h"
#include "stdlib.h"
#include "portab.h"
#include "std.h"
#include "cnfgdata.h"
#include "syscfg.h"
extern pager();
char cache[17];
cnamept3(syscfg)
struct SYSCFG * syscfg;
{
strcpy(cache,"syscfg->cnfgdata");
printf("%s.fdmauto = ",cache);
switch(syscfg->cnfgdata.fdmauto) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
}
pager();
printf("%s.ideenable = ",cache);
switch(syscfg->cnfgdata.ideenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
}
pager();
if(TRUE == syscfg->cnfgdata.ideenable) {
printf("%s.idetrace = ",cache);
switch(syscfg->cnfgdata.idetrace) {
case 0: printf("SILENT");
break;
case 1: printf("ERRORS");
break;
case 2: printf("EVERYTHING");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.de8bit = ",cache);
switch(syscfg->cnfgdata.ide8bit) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.idecapacity = %dMB",cache,
syscfg->cnfgdata.idecapacity);
pager();
}
printf("%s.ppideenable = ",cache);
switch(syscfg->cnfgdata.ppideenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
}
pager();
if(TRUE == syscfg->cnfgdata.ppideenable) {
printf("%s.ppidetrace = ",cache);
switch(syscfg->cnfgdata.ppidetrace) {
case 0: printf("SILENT");
break;
case 1: printf("ERRORS");
break;
case 2: printf("EVERYTHING");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.ppide8bit = ",cache);
switch(syscfg->cnfgdata.ppide8bit) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.ppidecapacity = %dKB",cache,
syscfg->cnfgdata.ppidecapacity);
pager();
printf("%s.ppideslow = ",cache);
switch(syscfg->cnfgdata.ppideslow) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
}
printf("%s.boottype = ",cache);
switch(syscfg->cnfgdata.boottype) {
case BTMENU: printf("BT_MENU");
break;
case BTAUTO: printf("BT_AUTO");
break;
}
pager();
printf("%s.boottimeout = %d seconds",cache,
syscfg->cnfgdata.boottimeout);
pager();
printf("%s.bootdefault = %c:",cache,
syscfg->cnfgdata.bootdefault);
pager();
printf("%s.baudrate = %u (0x%04x) Baud",cache,
syscfg->cnfgdata.baudrate,syscfg->cnfgdata.baudrate);
pager();
if(PLT_N8 == syscfg->cnfgdata.platform) {
printf("%s.ckdiv = %d",cache,
syscfg->cnfgdata.ckdiv);
pager();
printf("%s.memwait = 0x%02x",cache,
syscfg->cnfgdata.memwait);
pager();
printf("%s.iowait = 0x%02x",cache,syscfg->cnfgdata.iowait);
pager();
printf("%s.cntlb0 = 0x%02x",cache,syscfg->cnfgdata.cntlb0);
pager();
printf("%s.cntlb1 = 0x%02x",cache,syscfg->cnfgdata.cntlb1);
pager();
printf("%s.sdenable = ",cache);
switch(syscfg->cnfgdata.sdenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.sdtrace = ",cache);
switch(syscfg->cnfgdata.sdtrace) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
}
}
/********************/
/* eof - cnamept3.c */
/********************/
/*
unsigned char ckdiv;
unsigned char memwait;
unsigned char iowait;
unsigned char cntlb0;
unsigned char cntlb1;
unsigned char sdenable;
unsigned char sdtrace;
unsigned int sdcapacity;
unsigned char sdcsio;
unsigned char sdcsiofast;
unsigned char defiobyte;
unsigned char termtype;
unsigned int revision;
unsigned char prpsdenable;
unsigned char prpsdtrace;
unsigned int prpsdcapacity;
unsigned char prpconenable;
unsigned int biossize;
*/


View File

@@ -1,198 +0,0 @@
/* cnamept2.c 5/24/2012 dwg - */
#include "stdio.h"
#include "stdlib.h"
#include "portab.h"
#include "std.h"
#include "cnfgdata.h"
#include "syscfg.h"
extern pager();
char cache[17];
cnamept4(syscfg)
struct SYSCFG * syscfg;
{
strcpy(cache,"syscfg->cnfgdata");
if(PLT_N8 == syscfg->cnfgdata.platform) {
printf("%s.sdcapacity = %uKB",cache,
syscfg->cnfgdata.sdcapacity);
pager();
printf("%s.sdcsio = ",cache);
switch(syscfg->cnfgdata.sdcsio) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default:
printf("Unknown!!");
break;
}
pager();
printf("%s.sdcsiofast = ",cache);
switch(syscfg->cnfgdata.sdcsiofast) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
}
printf("%s.defiobyte = 0x%02x",cache,
syscfg->cnfgdata.defiobyte);
pager();
printf("%s.termtype = ",cache);
switch(syscfg->cnfgdata.termtype) {
case TERM_TTY: printf("TERM_TTY");
break;
case TERM_ANSI: printf("TERM_ANSI");
break;
case TERM_WYSE: printf("TERM_WYSE");
break;
case TERM_VT52: printf("TERM_VT52");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.revision = %d",cache,
syscfg->cnfgdata.revision);
pager();
printf("%s.prpenable = ",cache);
switch(syscfg->cnfgdata.prpenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
if(TRUE == syscfg->cnfgdata.prpenable) {
printf("%s.prpsdenable = ");
switch(syscfg->cnfgdata.prpsdenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
if(TRUE == syscfg->cnfgdata.prpsdenable) {
printf("%s.prpsdtrace = ",cache);
switch(syscfg->cnfgdata.prpsdtrace) {
case 0: printf("SILENT");
break;
case 1: printf("ERRORS");
break;
case 2: printf("EVERYTHING");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.prpsdcapacity = ",cache);
pager();
printf("%s.prpconenable = ",cache);
switch(syscfg->cnfgdata.prpconenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
}
}
printf("%s.biossize = %d",cache,
syscfg->cnfgdata.biossize);
pager();
printf("%s.pppenable = ",cache);
switch(syscfg->cnfgdata.pppenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
if(TRUE == syscfg->cnfgdata.pppenable) {
printf("%s.pppsdenable = ",cache);
switch(syscfg->cnfgdata.pppsdenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.pppsdtrace = ",cache);
switch(syscfg->cnfgdata.pppsdtrace) {
case 0: printf("SILENT");
break;
case 1: printf("ERRORS");
break;
case 2: printf("EVERYTHING");
break;
default: printf("Unknown!!");
break;
}
pager();
printf("%s.pppcapacity = %d",cache,
syscfg->cnfgdata.prpsdcapacity);
pager();
printf("%s.pppconenable = ",cache);
switch(syscfg->cnfgdata.pppconenable) {
case TRUE: printf("TRUE");
break;
case FALSE: printf("FALSE");
break;
default: printf("Unknown!!");
break;
}
pager();
}
}
/********************/
/* eof - cnamept4.c */
/********************/


View File

@@ -1,73 +0,0 @@
/* cnfgdata.h 6/04/2012 dwg - */
struct CNFGDATA {
unsigned char rmj;
unsigned char rmn;
unsigned char rup;
unsigned char rtp;
unsigned char diskboot;
unsigned char devunit;
unsigned int bootlu;
unsigned char hour;
unsigned char minute;
unsigned char second;
unsigned char month;
unsigned char day;
unsigned char year;
unsigned char freq;
unsigned char platform;
unsigned char dioplat;
unsigned char vdumode;
unsigned int romsize;
unsigned int ramsize;
unsigned char clrramdk;
unsigned char dskyenable;
unsigned char uartenable;
unsigned char vduenable;
unsigned char fdenable;
unsigned char fdtrace;
unsigned char fdmedia;
unsigned char fdmediaalt;
unsigned char fdmauto;
unsigned char ideenable;
unsigned char idetrace;
unsigned char ide8bit;
unsigned int idecapacity;
unsigned char ppideenable;
unsigned char ppidetrace;
unsigned char ppide8bit;
unsigned int ppidecapacity;
unsigned char ppideslow;
unsigned char boottype;
unsigned char boottimeout;
unsigned char bootdefault;
unsigned int baudrate;
unsigned char ckdiv;
unsigned char memwait;
unsigned char iowait;
unsigned char cntlb0;
unsigned char cntlb1;
unsigned char sdenable;
unsigned char sdtrace;
unsigned int sdcapacity;
unsigned char sdcsio;
unsigned char sdcsiofast;
unsigned char defiobyte;
unsigned char termtype;
unsigned int revision;
unsigned char prpsdenable;
unsigned char prpsdtrace;
unsigned int prpsdcapacity;
unsigned char prpconenable;
unsigned int biossize;
unsigned char pppenable;
unsigned char pppsdenable;
unsigned char pppsdtrace;
unsigned int pppsdcapacity;
unsigned char pppconenable;
unsigned char prpenable;
};
/********************/
/* eof - cnfgdata.h */
/********************/

View File

@@ -1,196 +0,0 @@
/* cpmbios.h 3/11/2012 dwg - added CURDRV */
/*************************/
/* BIOS Memory Locations */
/*************************/
#define CURDRV 0x00004
#define BIOSAD 0x0e600
#define pBOOT 0x0E600
#define pWBOOT 0x0E603
#define pCONST 0x0E606
#define pCONIN 0x0E609
#define pCONOUT 0x0E60C
#define pLIST 0x0E60F
#define pPUNCH 0x0E612
#define pREADER 0x0E615
#define pHOME 0x0E618
#define pSELDSK 0x0E61B
#define pSETTRK 0x0E61E
#define pSETSEC 0x0E621
#define pSETDMA 0x0E624
#define pREAD 0x0E627
#define pWRITE 0x0E62A
#define pLISTST 0x0E62D
#define pSECTRN 0x0E630
#define pBNKSEL 0x0E633
#define pGETLU 0x0E636
#define pSETLU 0x0E639
#define pGETINFO 0x0E63C
struct JMP {
unsigned char opcode;
unsigned int address;
};
struct BIOS {
struct JMP boot;
struct JMP wboot;
struct JMP const;
struct JMP conin;
struct JMP conout;
struct JMP list;
struct JMP punch;
struct JMP reader;
struct JMP home;
struct JMP seldsk;
struct JMP settrk;
struct JMP setsec;
struct JMP setdma;
struct JMP read;
struct JMP write;
struct JMP listst;
struct JMP sectrn;
struct JMP bnksel;
struct JMP getlu;
struct JMP setlu;
struct JMP getinfo;
struct JMP rsvd1;
struct JMP rsvd2;
struct JMP rsvd3;
struct JMP rsvd4;
char diskboot;
char bootdrive;
char devunit;
char rmj;
char rmn;
char rup;
char rtp;
};
struct DPH {
unsigned int xlt;
unsigned int rv1;
unsigned int rv2;
unsigned int rv3;
unsigned int dbf;
unsigned int dpb;
unsigned int csv;
unsigned int alv;
unsigned char sigl;
unsigned char sigu;
unsigned int current;
unsigned int number;
};
struct DPB {
unsigned int spt;
unsigned char bsh;
unsigned char blm;
unsigned char exm;
unsigned int dsm;
unsigned int drm;
unsigned char al0;
unsigned char al1;
unsigned int cks;
unsigned int off;
};
/* bioscall.h 3/10/2012 dwg - header file for bdoscall */
extern char irega;
extern unsigned int iregbc;
extern unsigned int iregde;
extern unsigned int ireghl;
extern bioscall();
/* bdoscall.h 3/10/2012 dwg - header file for bdoscall */
extern char drega;
extern unsigned int dregbc;
extern unsigned int dregde;
extern unsigned int dreghl;
extern bdoscall();
/* diagnose.h 5/23/2012 dwg - */
extern char hrega;
extern unsigned int hregbc;
extern unsigned int hregde;
extern unsigned int hreghl;
extern diagnose();
/* ctermcap.h 3/11/2012 dwg - declarations for termal capability */
extern crtinit();
extern crtclr();
extern crtlc();
/* cpmbdos.h */
#define TERMCPM 0
#define CONIN 1
#define CWRITE 2
#define DIRCONIO 6
#define PRINTSTR 9
#define RDCONBUF 10
#define GETCONST 11
#define RETVERNUM 12
#define RESDISKSYS 13
#define SELECTDISK 14
#define FOPEN 15
#define FCLOSE 16
#define SEARCHFIRST 17
#define SEARCHNEXT 18
#define FDELETE 19
#define FREADSEQ 20
#define FWRITESEQ 21
#define FMAKEFILE 22
#define FRENAME 23
#define RETLOGINVEC 24
#define RETCURRDISK 25
#define SETDMAADDR 26
#define GETALLOCVEC 27
#define WRPROTDISK 28
#define GETROVECTOR 29
#define FSETATTRIB 30
#define GETDPBADDR 31
#define SETGETUSER 32
#define FREADRANDOM 33
#define FWRITERAND 34
#define FCOMPSIZE 35
#define SETRANDREC 36
#define RESETDRIVE 37
#define WRRANDFILL 38
#define DRIVEA 0
/* dphmap.h 5/29/2012 dwg - declaration of DPH MAP structure */
struct DPHMAP {
struct DPH * drivea;
struct DPH * driveb;
struct DPH * drivec;
struct DPH * drived;
struct DPH * drivee;
struct DPH * drivef;
struct DPH * driveg;
struct DPH * driveh;
} * pDPHMAP;
struct DPHMAP * pDPHVEC[MAXDRIVE];
/******************/
/* eof - dphmap.h */
/******************/
/*****************/
/* eof - cpm80.h */
/*****************/


Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,8 +0,0 @@
#ifndef NDEBUG
#ifndef stderr
#include <stdio.h>
#endif
#define assert(x) if (!(x)) {fprintf(stderr,"Assertion failed: x, file %s, line %d\n",__FILE__,__LINE__); exit(1);}
#else
#define assert(x)
#endif

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,26 +0,0 @@
/* Copyright (C) 1983 by Manx Software Systems */
#define TIOCGETP 0 /* read contents of tty control structure */
#define TIOCSETP 1 /* set contents of tty control structure */
#define TIOCSETN 1 /* ditto only don't wait for output to flush */
/* special codes for MSDOS 2.x only */
#define TIOCREAD 2 /* read control info from device */
#define TIOCWRITE 3 /* write control info to device */
#define TIOCDREAD 4 /* same as 2 but for drives */
#define TIOCDWRITE 5 /* same as 3 but for drives */
#define GETISTATUS 6 /* get input status */
#define GETOSTATUS 7 /* get output status */
struct sgttyb {
short sg_flags; /* control flags */
char sg_erase; /* ignored */
char sg_kill; /* ignored */
};
/* settings for flags */
#define RAW 0x20 /* no echo or mapping of input/output BDOS(6) */
/* Refer to the MSDOS technical reference for detailed information on
* the remaining flags.
*/

View File

@@ -1,29 +0,0 @@
extern int errno;
extern char *sys_errlist[];
extern int sys_nerr;
/* MsDos return codes */
#define EINVAL 1
#define ENOENT 2
#define ENOTDIR 3
#define EMFILE 4
#define EACCES 5
#define EBADF 6
#define EARENA 7
#define ENOMEM 8
#define EFAULT 9
#define EINVENV 10
#define EBADFMT 11
#define EINVACC 12
#define EINVDAT 13
#define ENODEV 15
#define ERMCD 16
#define EXDEV 17
#define ENOMORE 18
/* additional codes used by Aztec C */
#define EEXIST 19
#define ENOTTY 20
/* used by the math library */
#define ERANGE 21
#define EDOM 22

Binary file not shown.

View File

@@ -1,16 +0,0 @@
main()
{
char buffer[100];
/* set to 25 row x 80 column monochrome mode 6 (HIRES) */
mode('H');
printf("Please enter your name: ");
gets(buffer);
/* set to 25 row x 40 column 4-color mode 4 (MEDRES) */
mode('M');
printf("Hello %s!\nWelcome to the growing family of\nAZTEC C users...\n",
buffer);
getchar();
/* set to 25 row x 80 column color text mode 3 (LOWRES) */
mode('L');
}

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +0,0 @@
main()
{
printf("Hello Woprd!!");
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,210 +0,0 @@
nlist
; Copyright (C) 1985 by Manx Software Systems, Inc.
; :ts=8
ifndef MODEL
MODEL equ 0
endif
if MODEL and 1
largecode
FARPROC equ 1
FPTRSIZE equ 4
else
FPTRSIZE equ 2
endif
if MODEL and 2
LONGPTR equ 1
endif
;this macro to be used on returning
;restores bp and registers
pret macro
if havbp
pop bp
endif
ret
endm
internal macro pname
public pname
pname proc
endm
intrdef macro pname
public pname
ifdef FARPROC
pname label far
else
pname label near
endif
endm
procdef macro pname, args
public pname&_
ifdef FARPROC
_arg = 6
pname&_ proc far
else
_arg = 4
pname&_ proc near
endif
ifnb <args>
push bp
mov bp,sp
havbp = 1
decll <args>
else
havbp = 0
endif
endm
entrdef macro pname, args
public pname&_
ifdef FARPROC
_arg = 6
pname&_:
else
_arg = 4
pname&_:
endif
ifnb <args>
if havbp
push bp
mov bp,sp
else
error must declare main proc with args, if entry has args
endif
decll <args>
endif
endm
;this macro equates 'aname' to arg on stack
decl macro aname, type
;;'byte' or anything else
havtyp = 0
ifidn <type>,<byte>
aname equ byte ptr _arg[bp]
_arg = _arg + 2
havtyp = 1
endif
ifidn <type>,<dword>
aname equ dword ptr _arg[bp]
_arg = _arg + 4
havtyp = 1
endif
ifidn <type>,<cdouble>
aname equ qword ptr _arg[bp]
_arg = _arg + 8
havtyp = 1
endif
ifidn <type>, <ptr>
ifdef LONGPTR
aname equ dword ptr _arg[bp]
_arg = _arg + 4
else
aname equ word ptr _arg[bp]
_arg = _arg + 2
endif
havtyp = 1
endif
ifidn <type>, <fptr>
ifdef FARPROC
aname equ dword ptr _arg[bp]
_arg = _arg + 4
else
aname equ word ptr _arg[bp]
_arg = _arg + 2
endif
havtyp = 1
endif
ifidn <type>, <word>
aname equ word ptr _arg[bp]
_arg = _arg + 2
havtyp = 1
endif
ife havtyp
error -- type is unknown.
endif
endm
;this macro loads an arg pointer into DEST, with optional SEGment
ldptr macro dest, argname, seg
ifdef LONGPTR
ifnb <seg> ;;get segment if specified
ifidn <seg>,<es>
les dest,argname
else
ifidn <seg>,<ds>
lds dest,argname
else
mov dest, word ptr argname
mov seg, word ptr argname[2]
endif
endif
else
ifidn <dest>,<si> ;;si gets seg in ds
lds si, argname
else
ifidn <dest>,<di> ;;or, es:di
les di, argname
else
garbage error: no seg for long pointer
endif
endif
endif
else
mov dest, word ptr argname ;;get the pointer
ENDIF
ENDM
decll macro list
IRP i,<list>
decl i
ENDM
ENDM
pend macro pname
pname&_ endp
endm
retptrm macro src,seg
mov ax, word ptr src
ifdef LONGPTR
mov dx, word ptr src+2
endif
endm
retptrr macro src,seg
mov ax,src
ifdef LONGPTR
ifnb <seg>
mov dx, seg
endif
endif
endm
retnull macro
ifdef LONGPTR
sub dx,dx
endif
sub ax,ax
endm
pushds macro
ifdef LONGPTR
push ds
endif
endm
popds macro
ifdef LONGPTR
pop ds
endif
endm
finish macro
codeseg ends
endm
list
codeseg segment byte public 'code'
assume cs:codeseg

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,8 +0,0 @@
hello.cmd: hello.c
cc hello
ln -o hello.cmd hello.o -lc
clean:
erase hello.cmd

View File

@@ -1 +0,0 @@
z:mount i /Users/doug/Downloads/azcpm32d

View File

@@ -1,11 +0,0 @@
double sin(), cos(), tan(), cotan();
double asin(), acos(), atan(), atan2();
double ldexp(), frexp(), modf();
double floor(), ceil(), fabs();
double log(), log10(), exp(), sqrt(), pow();
double sinh(), cosh(), tanh();
#define HUGE_VAL 1.79e+308
#define LOGHUGE 709.778
#define TINY_VAL 2.2e-308
#define LOGTINY -708.396

View File

@@ -1,2 +0,0 @@
extern char *memcpy(), *memchr(), *memcpy(), memset();
extern int memcmp();

Binary file not shown.

Binary file not shown.

View File

@@ -1,55 +0,0 @@
/* regs.h for aztec.c (C) Copyright Bill Buckels 2008. All rights reserved. */
#ifndef REGS_DEFINED
/* word registers */
/* different than M$oft so don't mix the two */
struct WORDREGS {
unsigned int ax;
unsigned int bx;
unsigned int cx;
unsigned int dx;
unsigned int si;
unsigned int di;
unsigned int ds;
unsigned int es;
};
/* byte registers */
/* I made these the same as M$oft since
the first 6 word regs are the same between the two */
struct BYTEREGS {
unsigned char al, ah;
unsigned char bl, bh;
unsigned char cl, ch;
unsigned char dl, dh;
};
/* general purpose registers union -
* overlays the corresponding word and byte registers.
*/
union REGS {
struct WORDREGS x;
struct BYTEREGS h;
};
/* segment registers */
/* different than M$oft so don't mix the two */
struct SREGS {
unsigned int cs;
unsigned int ss;
unsigned int ds;
unsigned int es;
};
/* the following makes it a little easier
to port code from M$soft and Turbo C
over to Aztec C unless you want to be
an Aztec C purist */
#define int86(x,y,z) sysint(x,y,z)
#define REGS_DEFINED 1
#endif

Binary file not shown.

View File

@@ -1,5 +0,0 @@
typedef int VISIT;
#define preorder 1
#define postorder 2
#define endorder 3
#define leaf 4

View File

@@ -1,15 +0,0 @@
/* Copyright (C) 1985 by Manx Software Systems, Inc. */
#define SIG_DFL ((void (*)())0)
#define SIG_IGN ((void (*)())1)
#define SIG_ERR ((void (*)())-1)
#define SIGINT 1
#define SIGTERM 2
#define SIGABRT 3
#define SIGFPE 4
#define SIGILL 5
#define SIGSEGV 6
#define _NUMSIG 6
#define _FSTSIG 1

Binary file not shown.

View File

@@ -1,29 +0,0 @@
/* Copyright (C) 1984 by Manx Software Systems */
struct stat {
char st_attr;
long st_mtime;
long st_size;
};
/* settings of the st_attr field */
#define ST_RDONLY 0x01 /* read only file */
#define ST_HIDDEN 0x02 /* hidden file */
#define ST_SYSTEM 0x04 /* system file */
#define ST_VLABEL 0x08 /* volume label */
#define ST_DIRECT 0x10 /* file is a sub-directory */
#define ST_ARCHIV 0x20 /* set when file has been written and closed */
/* the format of the st_mtime field is:
< year > < month> < day > < hours > < minutes > < sec/2 >
3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
where:
year is from 0-119 for 1980-2099
month is 1-12
day is 1-31
hours is 0-23
minutes is 0-59
sec/2 is 0-29
*/

View File

@@ -1,45 +0,0 @@
/* Copyright (C) 1982, 1984 by Manx Software Systems */
#define fgetc getc
#define fputc putc
#define NULL (void *)0
#define EOF -1
#define BUFSIZ 1024
#define MAXSTREAM 20
#define _BUSY 0x01
#define _ALLBUF 0x02
#define _DIRTY 0x04
#define _EOF 0x08
#define _IOERR 0x10
#define _TEMP 0x20 /* temporary file (delete on close) */
typedef struct {
char *_bp; /* current position in buffer */
char *_bend; /* last character in buffer + 1 */
char *_buff; /* address of buffer */
char _flags; /* open mode, etc. */
char _unit; /* token returned by open */
char _bytbuf; /* single byte buffer for unbuffer streams */
int _buflen; /* length of buffer */
char *_tmpname; /* name of file for temporaries */
} FILE;
extern FILE Cbuffs[];
FILE *fopen();
long ftell();
#define stdin (&Cbuffs[0])
#define stdout (&Cbuffs[1])
#define stderr (&Cbuffs[2])
#define getchar() agetc(stdin)
#define putchar(c) aputc(c, stdout)
#define feof(fp) (((fp)->_flags&_EOF)!=0)
#define ferror(fp) (((fp)->_flags&_IOERR)!=0)
#define clearerr(fp) ((fp)->_flags &= ~(_IOERR|_EOF))
#define fileno(fp) ((fp)->_unit)
#define fflush(fp) flsh_(fp,-1)
#define P_tmpdir ""
#define L_tmpnam 40

View File

@@ -1,22 +0,0 @@
/* Copyright (C) 1984, 1985 by Manx Software Systems */
#define CLK_TCK 100
typedef long time_t;
typedef long clock_t;
struct tm {
short tm_sec;
short tm_min;
short tm_hour;
short tm_mday;
short tm_mon;
short tm_year;
short tm_wday;
short tm_yday;
short tm_isdst;
short tm_hsec;
};
struct tm *gmtime(), *localtime();
char *asctime(), *ctime();
time_t time();

View File

@@ -1,8 +0,0 @@
/* cpmappl.h */
extern banner();
/*******************/
/* eof - cpmappl.h */
/*******************/


View File

@@ -1,53 +0,0 @@
/* cpmbdos.h 6/11/2012 dwg - */
#define TERMCPM 0
#define CONIN 1
#define CWRITE 2
#define DIRCONIO 6
#define PRINTSTR 9
#define RDCONBUF 10
#define GETCONST 11
#define RETVERNUM 12
#define RESDISKSYS 13
#define SELECTDISK 14
#define FOPEN 15
#define FCLOSE 16
#define SEARCHFIRST 17
#define SEARCHNEXT 18
#define FDELETE 19
#define FREADSEQ 20
#define FWRITESEQ 21
#define FMAKEFILE 22
#define FRENAME 23
#define RETLOGINVEC 24
#define RETCURRDISK 25
#define SETDMAADDR 26
#define GETALLOCVEC 27
#define WRPROTDISK 28
#define GETROVECTOR 29
#define FSETATTRIB 30
#define GETDPBADDR 31
#define SETGETUSER 32
#define FREADRANDOM 33
#define FWRITERAND 34
#define FCOMPSIZE 35
#define SETRANDREC 36
#define RESETDRIVE 37
#define WRRANDFILL 38
#define BDOSDRA 1
#define BDOSDRB 2
#define BDOSDRC 3
#define BDOSDRD 4
#define BDOSDRE 5
#define BDOSDRF 6
#define BDOSDRG 7
#define BDOSDRH 8
struct FCB {
char drive;
char filename[8];
char filetype[3];
char filler[24];
};


View File

@@ -1,682 +0,0 @@
/* cpmbind.h 5/21/2012 dwg - added b1f0peek and b1f0poke */
/* cpmbind.h 3/16/2012 dgw - created */
#define CR 0x0d
#define LF 0x0a
#define ESC 27
#define BIOSAD 0x0e600
#define pTermType 0x0E679
/*************************/
/* BIOS Memory Locations */
/*************************/
#define CURDRV 0x00004
#define BIOSAD 0x0e600
#define pBOOT 0x0E600
#define pWBOOT 0x0E603
#define pCONST 0x0E606
#define pCONIN 0x0E609
#define pCONOUT 0x0E60C
#define pLIST 0x0E60F
#define pPUNCH 0x0E612
#define pREADER 0x0E615
#define pHOME 0x0E618
#define pSELDSK 0x0E61B
#define pSETTRK 0x0E61E
#define pSETSEC 0x0E621
#define pSETDMA 0x0E624
#define pREAD 0x0E627
#define pWRITE 0x0E62A
#define pLISTST 0x0E62D
#define pSECTRN 0x0E630
#define pBNKSEL 0x0E633
#define pGETLU 0x0E636
#define pSETLU 0x0E639
#define pGETINFO 0x0E63C
#define pB1F0PEEK 0x0E63F
#define pB1F0POKE 0x0E642
/*
struct JMP {
unsigned char opcode;
unsigned int address;
};
struct BIOS {
struct JMP boot;
struct JMP wboot;
struct JMP const;
struct JMP conin;
struct JMP conout;
struct JMP list;
struct JMP punch;
struct JMP reader;
struct JMP home;
struct JMP seldsk;
struct JMP settrk;
struct JMP setsec;
struct JMP setdma;
struct JMP read;
struct JMP write;
struct JMP listst;
struct JMP sectrn;
struct JMP bnksel;
struct JMP getlu;
struct JMP setlu;
struct JMP getinfo;
struct JMP b1f0peek;
struct JMP b1f0poke;
struct JMP res1;
struct JMP res2;
char rmj;
char rmn;
char rup;
char rtp;
char diskboot;
char bootdrive;
char timedate[6];
char cpufreq;
char platform;
char dioplat;
char vduplt;
unsigned int romsize;
unsigned int ramsize;
char clrramdisk;
char dskyenable;
char uartenable;
char vduenable;
char fdenable;
char fdtrace;
char fdmedia;
char fdmediaalt;
char fdmauto;
char ideenable;
char idetrace;
char ide8bit;
unsigned int idecapacity;
char ppideenable;
char ppidetrace;
char ppide8bit;
unsigned int ppidecapacity;
char ppideslow;
char boottype;
char boot_timeout;
char boot_default;
unsigned int baudrate;
char clkdiv;
char memwait;
char iowait;
char cntlb0;
char cntlb1;
char sdenable;
char sdtrace;
unsigned int sdcapacity;
char sdcsio;
char sdcsiofast;
char defiobyte;
char termtype;
unsigned int revision;
char prpsdenable;
char prpsdtrace;
char prpsdcapacity;
char prpconenable;
unsigned int biossize;
};
*/
/*
*/
/* bioscall.h 3/10/2012 dwg - header file for bdoscall */
extern char irega;
extern unsigned int iregbc;
extern unsigned int iregde;
extern unsigned int ireghl;
extern bioscall();
/*********************/
/* BDOS Declarations */
/*********************/
#define TERMCPM 0
#define CONIN 1
#define CWRITE 2
#define DIRCONIO 6
#define PRINTSTR 9
#define RDCONBUF 10
#define GETCONST 11
#define RETVERNUM 12
#define RESDISKSYS 13
#define SELECTDISK 14
#define FOPEN 15
#define FCLOSE 16
#define SEARCHFIRST 17
#define SEARCHNEXT 18
#define FDELETE 19
#define FREADSEQ 20
#define FWRITESEQ 21
#define FMAKEFILE 22
#define FRENAME 23
#define RETLOGINVEC 24
#define RETCURRDISK 25
#define SETDMAADDR 26
#define GETALLOCVEC 27
#define WRPROTDISK 28
#define GETROVECTOR 29
#define FSETATTRIB 30
#define GETDPBADDR 31
#define SETGETUSER 32
#define FREADRANDOM 33
#define FWRITERAND 34
#define FCOMPSIZE 35
#define SETRANDREC 36
#define RESETDRIVE 37
#define WRRANDFILL 38
#define DRIVEA 0
/* bdoscall.h 3/10/2012 dwg - header file for bdoscall */
extern char drega;
extern unsigned int dregbc;
extern unsigned int dregde;
extern unsigned int dreghl;
extern bdoscall();
/* std.h 3/11/2012 dwg - c version of std.asm */
#define TERM_TTY 0
#define TERM_ANSI 1
#define TERM_WYSE 2
#define TERM_VT52 3
#define DEV_MD 0x00
#define DEV_FD 0x10
#define DEV_IDE 0x20
#define DEV_ATAPI 0x30
#define DEV_PPIDE 0x40
#define DEV_SD 0x50
#define DEV_PRPSD 0x60
#define PLT_N8VEM 1
#define PLT_ZETA 2
#define PLT_N8 3
/*
; std.lib 2/21/2012 dwg - added TERM$VT52
; TRUE equ 1
; FALSE equ 00
;
; PRIMARY HARDWARE PLATFORMS
; PLT$N8VEM equ 1 ; N8VEM ECB Z80 SBC
; PLT$ZETA equ 2 ; ZETA Z80 SBC
; PLT$N8 equ 3 ; N8 (HOME COMPUTER) Z180 SBC
;
; BOOT STYLE
; BT$MENU equ 1 ; WAIT FOR MENU SELECTION AT LOADER PROMPT
; BT$AUTO equ 2 ; AUTO SELECT BOOT$DEFAULT AFTER BOOT$TIMEOUT
;
; VDU PLATFORM SELECTIONS
;
;
; VDUPLT$NONE equ 0 ; NO VDU
; VDUPLT$VDU equ 1 ; ORIGINAL ECB VDU (6545 CHIP)
; VDUPLT$VDUC equ 2 ; ECB VDU COLOR (PENDING HARDWARE DEVELOPMENT)
; VDUPLT$PROPIO equ 3 ; ECB PROPIO (NOT IMPLEMENTED)
; VDUPLT$N8 equ 4 ; N8 ONBOARD VIDEO SUBSYSTEM (NOT IMPLEMENTED)
;
; RAM DISK INITIALIZATION OPTIONS
; CLR$NEVER equ 0 ; NEVER CLEAR RAM DISK
; CLR$AUTO equ 1 ; CLEAR RAM DISK IF INVALID DIR ENTRIES
; CLR$ALWAYS equ 2 ; ALWAYS CLEAR RAM DISK
;
;
; ; DISK MAP SELECTION OPTIONS
;
; DM$ROM equ 1 ; ROM DRIVE PRIORITY
; DM$RAM equ 2 ; RAM DRIVE PRIORITY
; DM$FD equ 3 ; FLOPPY DRIVE PRIORITY
; DM$IDE equ 4 ; IDE DRIVE PRIORITY
; DM$PPIDE equ 5 ; PPIDE DRIVE PRIORITY
; DM$SD equ 6 ; SD DRIVE PRIORITY
; DM$PRPSD equ 7 ; PROPIO SD DRIVE PRIORITY
;
;
; ; FLOPPY DISK MEDIA SELECTIONS (ID'S MUST BE INDEX OF ENTRY IN FCD$TBL)
;
;
; FDM720 equ 0 ; 3.5" FLOPPY, 720KB, 2 SIDES, 80 TRKS, 9 SECTORS
; FDM144 equ 1 ; 3.5" FLOPPY, 1.44MB, 2 SIDES, 80 TRKS, 18 SECTORS
; FDM360 equ 2 ; 5.25" FLOPPY, 360KB, 2 SIDES, 40 TRKS, 9 SECTORS
; FDM120 equ 3 ; 3.5" FLOPPY, 1.2MB, 2 SIDES, 80 TRKS, 15 SECTORS
;
;
; ; DISK PLATFORM SELECTIONS
;
; DIOPLT$NONE equ 0 ; NO DISK IO HARDWARE
; DIOPLT$DISKIO equ 1 ; N8VEM ECB DISK IO BOARD
; DIOPLT$ZETA equ 2 ; ZETA BUILT-IN DISK IO SECTION
; DIOPLT$DIDE equ 3 ; N8VEM ECB DUAL IDE W/ FLOPPY BOARD
; DIOPLT$N8 equ 4 ; N8 BUILT-IN DISK IO SECTION
; DIOPLT$DISKIO3 equ 5 ; N8VEM ECB DISK IO V3 BOARD
;
; CONSOLE DEVICE CHOICES FOR LDRCON AND DBGCON IN CONFIG SETTINGS
;
; CON$UART equ 1
; CON$VDU equ 2
; CON$PRP equ 3
;
; CONSOLE TERMINAL TYPE CHOICES
;
TERM$TTY equ 0
TERM$ANSI equ 1
TERM$WYSE equ 2
TERM$VT52 equ 3
;
;
; ; SYSTEM GENERATION SETTINGS
;
; SYS$CPM equ 1 ; CPM (IMPLIES BDOS + CCP)
; SYS$ZSYS equ 2 ; ZSYSTEM OS (IMPLIES ZSDOS + ZCPR)
;
; DOS$BDOS equ 1 ; BDOS
; DOS$ZDDOS equ 2 ; ZDDOS VARIANT OF ZSDOS
; DOS$ZSDOS equ 3 ; ZSDOS
;
; CP$CCP equ 1 ; CCP COMMAND PROCESSOR
; CP$ZCPR equ 2 ; ZCPR COMMAND PROCESSOR
;
; CONFIGURE DOS (DOS) AND COMMAND PROCESSOR (CP) BASED ON SYSTEM SETTING (SYS)
;
;
; #IFNDEF BLD$SYS
; SYS equ SYS$CPM
; #ELSE
; SYS equ BLD$SYS
; #ENDIF
;
; #IF (SYS == SYS$CPM)
; DOS equ DOS$BDOS
; CP equ CP$CCP
; #DEFINE OSLBL "CP/M-80 2.2C"
; #ENDIF
;
; #IF (SYS == SYS$ZSYS)
; DOS equ DOS$ZSDOS
; CP equ CP$ZCPR
; #DEFINE OSLBL "ZSYSTEM (ZSDOS 1.2, ZCPR 1.0)"
; #ENDIF
;
;
; ; INCLUDE VERSION AND BUILD SETTINGS
;
; #INCLUDE "ver.inc" ; ADD BIOSVER
;
;
; #INCLUDE "build.inc" ; INCLUDE USER CONFIG, ADD VARIANT, TIMESTAMP, & ROMSIZE
;
;
; #IF (PLATFORM NE PLT$N8)
;
;
; ; N8VEM HARDWARE IO PORT ADDRESSES AND MEMORY LOCATIONS
; MPCL$RAM equ 78H ; BASE IO ADDRESS OF RAM MEMORY PAGER CONFIGURATION LATCH
; MPCL$ROM equ 7CH ; BASE IO ADDRESS OF ROM MEMORY PAGER CONFIGURATION LATCH
;
;
; ; HARDWARE INTERFACES
;
; PIO 82C55 I/O IS DECODED TO PORT 60-67
; PIOA equ 60H ; PORT A
; PIOB equ 61H ; PORT B
; PIOC equ 62H ; PORT C
; PIOX equ 63H ; PIO CONTROL PORT
;
; 16C550 SERIAL LINE UART
;
; SIO$BASE equ 68H
; SIO$RBR equ SIO$BASE + 0 ; DLAB=0: RCVR BUFFER REG (READ ONLY)
; SIO$THR equ SIO$BASE + 0 ; DLAB=0: XMIT HOLDING REG (WRITE ONLY)
; SIO$IER equ SIO$BASE + 1 ; DLAB=0: INT ENABLE REG
; SIO$IIR equ SIO$BASE + 2 ; INT IDENT REGISTER (READ ONLY)
; SIO$FCR equ SIO$BASE + 2 ; FIFO CONTROL REG (WRITE ONLY)
; SIO$LCR equ SIO$BASE + 3 ; LINE CONTROL REG
; SIO$MCR equ SIO$BASE + 4 ; MODEM CONTROL REG
; SIO$LSR equ SIO$BASE + 5 ; LINE STATUS REG
; SIO$MSR equ SIO$BASE + 6 ; MODEM STATUS REG
; SIO$SCR equ SIO$BASE + 7 ; SCRATCH REGISTER
; SIO$DLL equ SIO$BASE + 0 ; DLAB=1: DIVISOR LATCH (LS)
; SIO$DLM equ SIO$BASE + 1 ; DLAB=1: DIVISOR LATCH (MS)
; #ENDIF ; (PLATFORM NE PLT$N8)
;
;
; #IF (PLATFORM NE PLT$N8)
;
;
; ; Z180 REGISTERS
;
;
; CPU$IOBASE equ 40H ; ONLY RELEVANT FOR Z180
; CPU$CNTLA0 equ CPU$IOBASE+$00 ;ASCI0 control A
; CPU$CNTLA1 equ CPU$IOBASE+$01 ;ASCI1 control A
; CPU$CNTLB0 equ CPU$IOBASE+$02 ;ASCI0 control B
; CPU$CNTLB1 equ CPU$IOBASE+$03 ;ASCI1 control B
; CPU$STAT0 equ CPU$IOBASE+$04 ;ASCI0 status
; CPU$STAT1 equ CPU$IOBASE+$05 ;ASCI1 status
; CPU$TDR0 equ CPU$IOBASE+$06 ;ASCI0 transmit
; CPU$TDR1 equ CPU$IOBASE+$07 ;ASCI1 transmit
; CPU$RDR0 equ CPU$IOBASE+$08 ;ASCI0 receive
; CPU$RDR1 equ CPU$IOBASE+$09 ;ASCI1 receive
; CPU$CNTR equ CPU$IOBASE+$0A ;CSI/O control
; CPU$TRDR equ CPU$IOBASE+$0B ;CSI/O transmit/receive
; CPU$TMDR0L equ CPU$IOBASE+$0C ;Timer 0 data lo
; CPU$TMDR0H equ CPU$IOBASE+$0D ;Timer 0 data hi
; CPU$RLDR0L equ CPU$IOBASE+$0E ;Timer 0 reload lo
; CPU$RLDR0H equ CPU$IOBASE+$0F ;Timer 0 reload hi
; CPU$TCR equ CPU$IOBASE+$10 ;Timer control
; CPU$ASEXT0 equ CPU$IOBASE+$12 ;ASCI0 extension control (Z8S180)
; CPU$ASEXT1 equ CPU$IOBASE+$13 ;ASCI1 extension control (Z8S180)
; CPU$TMDR1L equ CPU$IOBASE+$14 ;Timer 1 data lo
; CPU$TMDR1H equ CPU$IOBASE+$15 ;Timer 1 data hi
; CPU$RLDR1L equ CPU$IOBASE+$16 ;Timer 1 reload lo
; CPU$RLDR1H equ CPU$IOBASE+$17 ;Timer 1 reload hi
; CPU$FRC equ CPU$IOBASE+$18 ;Free running counter
; CPU$ASTC0L equ CPU$IOBASE+$1A ;ASCI0 Time constant lo (Z8S180)
; CPU$ASTC0H equ CPU$IOBASE+$1B ;ASCI0 Time constant hi (Z8S180)
; CPU$ASTC1L equ CPU$IOBASE+$1C ;ASCI1 Time constant lo (Z8S180)
; CPU$ASTC1H equ CPU$IOBASE+$1D ;ASCI1 Time constant hi (Z8S180)
; CPU$CMR equ CPU$IOBASE+$1E ;Clock multiplier (latest Z8S180)
; CPU$CCR equ CPU$IOBASE+$1F ;CPU control (Z8S180)
; CPU$SAR0L equ CPU$IOBASE+$20 ;DMA0 source addr lo
; CPU$SAR0H equ CPU$IOBASE+$21 ;DMA0 source addr hi
; CPU$SAR0B equ CPU$IOBASE+$22 ;DMA0 source addr bank
; CPU$DAR0L equ CPU$IOBASE+$23 ;DMA0 dest addr lo
; CPU$DAR0H equ CPU$IOBASE+$24 ;DMA0 dest addr hi
; CPU$DAR0B equ CPU$IOBASE+$25 ;DMA0 dest addr bank
; CPU$BCR0L equ CPU$IOBASE+$26 ;DMA0 byte count lo
; CPU$BCR0H equ CPU$IOBASE+$27 ;DMA0 byte count hi
; CPU$MAR1L equ CPU$IOBASE+$28 ;DMA1 memory addr lo
; CPU$MAR1H equ CPU$IOBASE+$29 ;DMA1 memory addr hi
; CPU$MAR1B equ CPU$IOBASE+$2A ;DMA1 memory addr bank
; CPU$IAR1L equ CPU$IOBASE+$2B ;DMA1 I/O addr lo
; CPU$IAR1H equ CPU$IOBASE+$2C ;DMA1 I/O addr hi
; CPU$IAR1B equ CPU$IOBASE+$2D ;DMA1 I/O addr bank (Z8S180)
; CPU$BCR1L equ CPU$IOBASE+$2E ;DMA1 byte count lo
; CPU$BCR1H equ CPU$IOBASE+$2F ;DMA1 byte count hi
; CPU$DSTAT equ CPU$IOBASE+$30 ;DMA status
; CPU$DMODE equ CPU$IOBASE+$31 ;DMA mode
; CPU$DCNTL equ CPU$IOBASE+$32 ;DMA/WAIT control
; CPU$IL equ CPU$IOBASE+$33 ;Interrupt vector load
; CPU$ITC equ CPU$IOBASE+$34 ;INT/TRAP control
; CPU$RCR equ CPU$IOBASE+$36 ;Refresh control
; CPU$CBR equ CPU$IOBASE+$38 ;MMU common base register
; CPU$BBR equ CPU$IOBASE+$39 ;MMU bank base register
; CPU$CBAR equ CPU$IOBASE+$3A ;MMU common/bank area register
; CPU$OMCR equ CPU$IOBASE+$3E ;Operation mode control
; CPU$ICR equ $3F ;I/O control register (not relocated)
;
; N8 ONBOARD I/O REGISTERS
; N8$IOBASE equ $80
; PIO equ N8$IOBASE+$00
; PIOA equ PIO+$00 ; PORT A
; PIOB equ PIO+$01 ; PORT B
; PIOC equ PIO+$02 ; PORT C
; PIOX equ PIO+$03 ; PIO CONTROL PORT
; PIO2 equ N8$IOBASE+$04
; PIO2A equ PIO2+$00 ; PORT A
; PIO2B equ PIO2+$01 ; PORT B
; PIO2C equ PIO2+$02 ; PORT C
; PIO2X equ PIO2+$03 ; PIO CONTROL PORT
;
; RTC equ N8$IOBASE+$08 ;RTC latch and buffer
; FDC equ N8$IOBASE+$0C ;Floppy disk controller
; UTIL equ N8$IOBASE+$10 ;Floppy disk utility
; ACR equ N8$IOBASE+$14 ;auxillary control register
; RMAP equ N8$IOBASE+$16 ;ROM page register
; VDP equ N8$IOBASE+$18 ;Video Display Processor (TMS9918A)
; PSG equ N8$IOBASE+$1C ;Programmable Sound Generator (AY-3-8910)
;
; DEFACR equ $1B
;
; #ENDIF
;
;
; ; CHARACTER DEVICE FUNCTIONS
;
;
; CF$INIT equ 0
; CF$IN equ 1
; CF$IST equ 2
; CF$OUT equ 3
; CF$OST equ 4
;
; DISK OPERATIONS
; DOP$READ equ 0 ; READ OPERATION
; DOP$WRITE equ 1 ; WRITE OPERATION
; DOP$FORMAT equ 2 ; FORMAT OPERATION
; DOP$READID equ 3 ; READ ID OPERATION
;
; DISK DRIVER FUNCTIONS
; DF$READY equ 1
; DF$SELECT equ 2
; DF$READ equ 3
; DF$WRITE equ 4
; DF$FORMAT equ 5
;
; DISK DEVICES (ONLY FIRST NIBBLE RELEVANT, SECOND NIBBLE MUST BE ZERO)
; DEV$MD equ 000H
; DEV$FD equ 010H
; DEV$IDE equ 020H
; DEV$ATAPI equ 030H
; DEV$PPIDE equ 040H
; DEV$SD equ 050H
; DEV$PRPSD equ 060H
;
; IMG$START equ 00000H ; IMMUTABLE: ROM IMAGE AREA START
; IMG$END equ 08000H ; IMMUTABLE: ROM IMAGE AREA END
;
; PG0$LOC equ 00000H ; IMMUTABLE
; PG0$SIZ equ 00100H ; IMMUTABLE
; PG0$END equ PG0$LOC + PG0$SIZ
; PG0$IMG equ IMG$START ; IMMUTABLE
; LDR$LOC equ PG0$END
; LDR$SIZ equ 02000H - PG0$SIZ ; CONFIGURABLE
; LDR$END equ LDR$LOC + LDR$SIZ
; LDR$IMG equ PG0$IMG + PG0$SIZ
; CPM$LOC equ 0D000H ; CONFIGURABLE: LOCATION OF CPM FOR RUNNING SYSTEM
; CPM$END equ 10000H ; IMMUTABLE: TOP OF MEMORY
; CPM$SIZ equ CPM$END - CPM$LOC ; SIZE OF CPM IMAGE (CCP + BDOS + CBIOS (INCLUDING DATA))
; CPM$ENT equ CPM$LOC + 01600H ; IMMUTABLE: CPM ENTRY POINT
; CPM$IMG equ LDR$IMG + LDR$SIZ ; START OF CONCATENATED CPM IMAGE
; DAT$SIZ equ DATASIZE ; FROM CONFIG FILE
; DAT$END equ CPM$END
; DAT$LOC equ DAT$END - DAT$SIZ
; BIOS$LOC equ CPM$ENT
; BIOS$END equ DAT$LOC
; BIOS$SIZ equ DAT$LOC - CPM$ENT
; MON$IMG equ CPM$IMG + CPM$SIZ ; LOCATION OF MONITOR BINARY IMAGE IN ROM
; MON$LOC equ 08000H ; LOCATION OF MONITOR FOR RUNNING SYSTEM
; MON$SIZ equ 01000H ; SIZE OF MONITOR BINARY IMAGE
; MON$END equ MON$LOC + MON$SIZ
; MON$DSKY equ MON$LOC ; MONITOR ENTRY (DSKY)
; MON$UART equ MON$LOC + 3 ; MONITOR ENTRY (UART)
; ROMX$LOC equ MON$IMG + MON$SIZ ; LOCATION OF ROM EXTENSION CODE
;
;
; ROMX$SIZ equ 02000H ; FIXED
; ROMX$END equ ROMX$LOC + ROMX$SIZ
;
;
; VDU$LOC equ ROMX$LOC + 0 ; LOCATION OF ROM VDU DRIVER
;
;
; CBIOS$BOOT equ BIOS$LOC + 0
; CBIOS$WBOOT equ BIOS$LOC + 3
; CBIOS$CONST equ BIOS$LOC + 6
; CBIOS$CONIN equ BIOS$LOC + 9
; CBIOS$CONOUT equ BIOS$LOC + 12
; CBIOS$LIST equ BIOS$LOC + 15
; CBIOS$PUNCH equ BIOS$LOC + 18
; CBIOS$READER equ BIOS$LOC + 21
; CBIOS$HOME equ BIOS$LOC + 24
; CBIOS$SELDSK equ BIOS$LOC + 27
; CBIOS$SETTRK equ BIOS$LOC + 30
; CBIOS$SETSEC equ BIOS$LOC + 33
; CBIOS$SETDMA equ BIOS$LOC + 36
; CBIOS$READ equ BIOS$LOC + 39
; CBIOS$WRITE equ BIOS$LOC + 42
; CBIOS$LISTST equ BIOS$LOC + 45
; CBIOS$SECTRN equ BIOS$LOC + 48
;
; MEMORY CONFIGURATION
;
; MSIZE equ 59 ; CP/M VERSION MEMORY SIZE IN KILOBYTES
;
; "BIAS" IS ADDRESS OFFSET FROM 3400H FOR MEMORY SYSTEMS
; ; THAN 16K (REFERRED TO AS "B" THROUGHOUT THE TEXT)
;
; BIAS equ (MSIZE-20)*1024
; CCP equ 3400H+BIAS ; BASE OF CCP
; BDOS equ CCP+806H ; BASE OF BDOS
; BIOS equ CCP+1600H ; BASE OF BIOS
; CCPSIZ equ 00800H
;
; #IF (PLATFORM == PLT$N8VEM)
;
;
; ; #DEFINE PLATFORM$NAME "N8VEM Z80 SBC"
;
;
; ; #ENDIF
;
;
; ; #IF (PLATFORM == PLT$ZETA)
; ; #DEFINE PLATFORM$NAME "ZETA Z80 SBC"
; ; #ENDIF
;
;
; ; #IF (PLATFORM == PLT$N8)
; ; #DEFINE PLATFORM$NAME "N8 Z180 SBC"
; ; #ENDIF
;
; #IF (DSKYENABLE)
; ; #DEFINE DSKYLBL ", DSKY"
; ; #ELSE
; ; #DEFINE DSKYLBL ""
; ; #ENDIF
;
; #IF (VDUENABLE)
; #DEFINE VDULBL ", VDU"
; #ELSE
; #DEFINE VDULBL ""
; #ENDIF
;
; #IF (DIOPLT NE DIOPLT$NONE)
;
;
; #IF (DIOPLT EQ DIOPLT$DISKIO)
; #DEFINE DIOLBL ", DISKIO"
; #ENDIF
;
;
; #IF (DIOPLT EQ DIOPLT$ZETA)
; #DEFINE DIOLBL ""
; #ENDIF
;
;
; #IF (DIOPLT EQ DIOPLT$DIDE)
; #DEFINE DIOLBL ", DUALIDE"
; #ENDIF
;
;
; #IF (DIOPLT EQ DIOPLT$N8)
; #DEFINE DIOLBL ""
; #ENDIF
;
; #IF (DIOPLT EQ DIOPLT$DISKIO3)
; #DEFINE DIOLBL ", DISKIO-V3"
; #ENDIF
;
; #ELSE
; #DEFINE DIOLBL ""
; #ENDIF
;
;
; ; #ENDIF
;
;
; #IF (FDENABLE)
; #IF (FDMAUTO)
; #DEFINE FDLBL ", FLOPPY (AUTOSIZE)"
; #ELSE
; #IF (FDMEDIA == FDM720)
; #DEFINE FDLBL ", FLOPPY (720KB)"
; #ENDIF
; #IF (FDMEDIA == FDM144)
; #DEFINE FDLBL ", FLOPPY (1.44MB)"
; #ENDIF
; #ENDIF
; #ELSE
; #DEFINE FDLBL ""
; #ENDIF
;
;
; #IF (IDEENABLE)
; #DEFINE IDELBL ", IDE"
; #ELSE
; #DEFINE IDELBL ""
; #ENDIF
;
;
; #IF (PPIDEENABLE)
; #DEFINE PPIDELBL ", PPIDE"
; #ELSE
; #DEFINE PPIDELBL ""
; #ENDIF
;
; #IF (SDENABLE)
; #DEFINE SDLBL ", SD CARD"
; #ELSE
; #DEFINE SDLBL ""
; #ENDIF
;
;
; #IF (PRPSDENABLE)
; #DEFINE PRPSDLBL ", PROPIO SD CARD"
; #ELSE
; #DEFINE PRPSDLBL ""
; #ENDIF
;
;
; ; .ECHO "Configuration: "
; ; .ECHO PLATFORM$NAME
; ; .ECHO DSKYLBL
; ; .ECHO VDULBL
; ; .ECHO DIOLBL
; ; .ECHO FDLBL
; ; .ECHO IDELBL
; ; .ECHO PPIDELBL
; ; .ECHO SDLBL
; ; .ECHO PRPSDLBL
; ; .ECHO "\n"
; ;
;
; eof - std.lib
*/


View File

@@ -1,104 +0,0 @@
/* cpmbios.h 6/ 4/2012 dwg - added bootlu */
/* cpmbios.h 3/11/2012 dwg - added CURDRV */
/*************************/
/* BIOS Memory Locations */
/*************************/
#define CURDRV 0x00004
#define BIOSAD 0x0e600
#define pBOOT 0x0E600
#define pWBOOT 0x0E603
#define pCONST 0x0E606
#define pCONIN 0x0E609
#define pCONOUT 0x0E60C
#define pLIST 0x0E60F
#define pPUNCH 0x0E612
#define pREADER 0x0E615
#define pHOME 0x0E618
#define pSELDSK 0x0E61B
#define pSETTRK 0x0E61E
#define pSETSEC 0x0E621
#define pSETDMA 0x0E624
#define pREAD 0x0E627
#define pWRITE 0x0E62A
#define pLISTST 0x0E62D
#define pSECTRN 0x0E630
#define pBNKSEL 0x0E633
#define pGETLU 0x0E636
#define pSETLU 0x0E639
#define pGETINFO 0x0E63C
struct JMP {
unsigned char opcode;
unsigned int address;
};
struct BIOS {
struct JMP boot;
struct JMP wboot;
struct JMP const;
struct JMP conin;
struct JMP conout;
struct JMP list;
struct JMP punch;
struct JMP reader;
struct JMP home;
struct JMP seldsk;
struct JMP settrk;
struct JMP setsec;
struct JMP setdma;
struct JMP read;
struct JMP write;
struct JMP listst;
struct JMP sectrn;
struct JMP bnksel;
struct JMP getlu;
struct JMP setlu;
struct JMP getinfo;
struct JMP rsvd1;
struct JMP rsvd2;
struct JMP rsvd3;
struct JMP rsvd4;
/* char diskboot;
char bootdrive;
int bootlu; */
char rmj;
char rmn;
char rup;
char rtp;
};
struct DPH {
unsigned int xlt;
unsigned int rv1;
unsigned int rv2;
unsigned int rv3;
unsigned int dbf;
unsigned int dpb;
unsigned int csv;
unsigned int alv;
unsigned char sigl;
unsigned char sigu;
unsigned int current;
unsigned int number;
};
struct DPB {
unsigned int spt;
unsigned char bsh;
unsigned char blm;
unsigned char exm;
unsigned int dsm;
unsigned int drm;
unsigned char al0;
unsigned char al1;
unsigned int cks;
unsigned int off;
};


View File

@@ -1,86 +0,0 @@
/* cpmname.c 5/21/2012 dwg - */
#include "stdio.h"
#include "stdlib.h"
#include "portab.h"
#include "memory.h"
#include "globals.h"
#include "cpmbind.h"
#include "applvers.h"
#include "infolist.h"
#include "cnfgdata.h"
#include "syscfg.h"
#include "diagnose.h"
#include "std.h"
extern cnamept1();
extern cnamept2();
extern cnamept3();
extern cnamept4();
struct SYSCFG * syscfg;
int line;
int main(argc,argv)
int argc;
char *argv[];
{
char *p;
char c;
int i;
char * pC;
line = 5;
printf("CPMNAME.COM %d/%d/%d v%d.%d.%d.%d",
A_MONTH,A_DAY,A_YEAR,A_RMJ,A_RMN,A_RUP,A_RTP);
printf(" dwg - Display System Configuration");
pager();
pager();
ireghl = pGETINFO;
bioscall();
pINFOLIST = ireghl;
printf("pINFOLIST->banptr ==> ");
dregde = pINFOLIST->banptr;
dregbc = 9;
bdoscall();
pager();
syscfg = 0x8000;
hregbc = 0xf000;
hregde = syscfg;
diagnose();
cnamept1(syscfg);
cnamept2(syscfg);
cnamept3(syscfg);
cnamept4(syscfg);
}
pager()
{
line++;
printf("\n");
if(24 == line) {
printf(" press any key to continue");
dregbc = 1;
bdoscall();
line = 1;
}
}
/********************/
/* eof - ccpmname.c */
/********************/

View File

@@ -1,94 +0,0 @@
/* ctermcap.c 3/11/2012 dwg - terminal capbility file */
#include "stdio.h"
#include "stdlib.h"
#include "cpmbind.h"
#include "applvers.h"
#include "cnfgdata.h"
#include "syscfg.h"
#include "diagnose.h"
int tt;
crtinit()
{
struct SYSCFG * pSYSCFG;
hregbc = 0x0f000;
hregde = 0x0C000;
diagnose();
pSYSCFG = 0x0C000;
tt = pSYSCFG->cnfgdata.termtype;
}
crtclr()
{
int i;
switch(tt) {
case TERM_TTY:
for(i=0;i<43;i++) {
printf("%c%c",CR,LF);
}
break;
case TERM_ANSI:
printf("%c[2J",ESC);
break;
case TERM_WYSE:
printf("%c+",ESC);
break;
case TERM_VT52:
printf("%cJ%cH",ESC,ESC);
break;
};
}
crtlc(line,col)
int line;
int col;
{
int i;
switch(tt) {
case TERM_TTY:
break;
case TERM_ANSI:
printf("%c[%d;%d%c",ESC,line,col,0x66);
break;
case TERM_WYSE:
printf("%c+",ESC);
break;
case TERM_VT52:
printf("%cY%c%c",ESC,' '+line,' '+col);
break;
};
}
/*
SINGLEQUOTE equ 0
RIGHTQUOTE equ 0
LEFTQUOTE equ 0
wy50row db ' !"#$%&'
db 39
db '()*+,-./01234567'
wy50col db ' !"#$%&'
db 39
db '()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'
db 96
db 'abcdefghijklmno'
templine db 0
tempcol db 0
*/
/********************/
/* eof - ctermcap.c */
/********************/


View File

@@ -1,6 +0,0 @@
/* ctermcap.h 3/11/2012 dwg - declarations for termal capability */
extern crtinit();
extern crtclr();
extern crtlc();


View File

@@ -1,47 +0,0 @@
; diagnose.asm 5/23/2012 dwg - diagnose binding for Aztec C
global hrega_,1
global hregbc_,2
global hregde_,2
global hreghl_,2
public diagnose_
diagnose_:
push psw
push b
push d
push h
lhld hregbc_
mov b,h
mov c,l
lhld hregde_
mov d,h
mov e,l
lhld hreghl_
lda hrega_
db 0cfh ; rst 8
sta hrega_
shld hreghl_
mov l,e
mov h,d
shld hregde_
mov l,c
mov h,b
shld hregbc_
pop h
pop d
pop b
pop psw
RET
END

View File

@@ -1,12 +0,0 @@
/* diagnose.h 5/23/2012 dwg - */
extern char hrega;
extern unsigned int hregbc;
extern unsigned int hregde;
extern unsigned int hreghl;
extern diagnose();
/********************/
/* eof - diagnose.h */
/********************/

View File

@@ -1,32 +0,0 @@
/* dphdpb.h 6/10/2012 dwg - CP/M Disk Parameters */
struct DPB {
unsigned int spt;
unsigned char bsh;
unsigned char blm;
unsigned char exm;
unsigned int dsm;
unsigned int drm;
unsigned char al0;
unsigned char al1;
unsigned int cks;
unsigned int off;
};
struct DPH {
unsigned int xlt;
unsigned int rv1;
unsigned int rv2;
unsigned int rv3;
unsigned int dbf;
struct DPB * dpb;
void * csv;
void * alv;
/* extension */
char sigl;
char sigu;
int current;
int number;
};


View File

@@ -1,19 +0,0 @@
/* dphmap.h 5/29/2012 dwg - declaration of DPH MAP structure */
struct DPHMAP {
struct DPH * drivea;
struct DPH * driveb;
struct DPH * drivec;
struct DPH * drived;
struct DPH * drivee;
struct DPH * drivef;
struct DPH * driveg;
struct DPH * driveh;
} * pDPHMAP;
struct DPHMAP * pDPHVEC[MAXDRIVE];
/******************/
/* eof - dphmap.h */
/******************/

View File

@@ -1,17 +0,0 @@
/****************************************************************/
/* globals.h 3/11/2012 dwg - add BIOS_ADDR */
/* globals.h 3/11/2012 dwg - declarations common to all modules */
/****************************************************************/
#define CR 0x0d
#define LF 0x0a
#define ESC 27
#define BIOSAD 0x0e600
#define INFLSTV 1
#define MAXDRIVE 8
/*******************/
/* eof - globals.h */
/*******************/

View File

@@ -1,16 +0,0 @@
/* infolist.h 6/7/2012 dwg - BIOS Information Structure version 2 */
struct INFOLIST {
int version;
void * banptr;
void * varloc;
void * tstloc;
void * dpbmap;
void * dphmap;
void * ciomap;
} * pINFOLIST;
/********************/
/* eof - infolist.h */
/********************/


View File

@@ -1,124 +0,0 @@
/* label.c 67/10/2012 dwg - */
#include "stdio.h"
#include "cpmbios.h"
#include "bioscall.h"
#include "cpmbdos.h"
#include "bdoscall.h"
#include "metadata.h"
#include "banner.h"
struct FCB * pPRIFCB;
struct FCB * pSECFCB;
struct DPH * pDPH;
struct DPB * pDPB;
testdrive(drive)
int drive;
{
ireghl = pSELDSK;
iregbc = drive;
bioscall();
pDPH = ireghl;
pDPB = pDPH->dpb;
if(0 == pDPB->off) {
printf("Sorry Drive %c: has no prefix area and cannot be labeled",
drive+'A');
exit(1);
}
}
interactive(drive)
int drive;
{
int i;
struct {
char size;
char len;
char data[16];
} rdcons;
testdrive(drive);
ireghl = pGETLU;
iregbc = drive;
bioscall();
if(1 == irega) {
printf("interactive(%d) says drive %c: can't have label",drive,drive);
printf("%c",7);
exit(1);
}
rdsector(drive,0,11,&metadata,0);
printf("Old label = ");
for(i=0;i<16;i++) {
printf("%c",metadata.label[i]);
}
printf("\nNew label = ");
rdcons.size=16;
rdcons.len =0;
dregbc = RDCONBUF;
dregde = &rdcons;
bdoscall();
if(0 < rdcons.len) {
memset(metadata.label,' ',16);
memcpy(metadata.label,rdcons.data,rdcons.len);
wrsector(drive,0,11,&metadata,0);
}
}
noninteractive(drive,label)
int drive;
char * label;
{
int i;
testdrive(drive);
rdsector(drive,0,11,&metadata,0);
memset(metadata.label,' ',16);
for(i=0;i<strlen(label);i++) {
metadata.label[i] = label[i];
}
wrsector(drive,0,11,&metadata,0);
}
main(argc,argv)
int argc;
char *argv[];
{
int i;
int drive;
char szDrive[3];
sbanner("LABEL.COM");
pPRIFCB = 0x5c;
switch(argc) {
case 1:
dregbc = RETCURRDISK;
bdoscall();
drive = drega;
interactive(drive);
break;
case 2:
if(2 == strlen(argv[1])) {
strcpy(szDrive,argv[1]);
if(':' == szDrive[1]) {
interactive(pPRIFCB->drive-1);
exit(0);
}
}
break;
default:
noninteractive(pPRIFCB->drive-1,0x85);
break;
}
exit(0);
}


View File

@@ -1,4 +0,0 @@
set tmppath=%path%
set path=\bin
bin\make %1
set path=%tmppath%

Some files were not shown because too many files have changed in this diff Show More