]>
cloudbase.mooo.com Git - avrcpm.git/log
Leo [Tue, 2 Apr 2013 08:27:00 +0000 (08:27 +0000)]
* More fixes, spelling corrections, minor enhancements.
* avr/mmc.asm: mmcReadSect,mmcReadWord,mmcWriteSect reorg.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@206
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 31 Mar 2013 23:08:14 +0000 (23:08 +0000)]
* Some bug fixes
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@205
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sat, 30 Mar 2013 08:07:20 +0000 (08:07 +0000)]
* Z80/8080 registers BC, DE, HL moved from RAM to AVR CPU registers. 'temp4' removed.
* Parameter for 'print_ultoa' (32 bit integer) moved from 'temp4:temp3:temp2:temp' to 'r15:r14:temp2:temp'.
* init.asm: Do not set global pullup disable bit ('PUD'). Enable pullup on RXD pin.
* Do not disable interrupts on DRAM access.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@204
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 26 Mar 2013 15:28:52 +0000 (15:28 +0000)]
* Tidied up configuration
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@202
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 21 Mar 2013 09:23:11 +0000 (09:23 +0000)]
* MMC/SD Bootloader support
- Files: config.inc, avrcpm.asm, Makefile
* sw-uart.asm
- TX Bugfix: don't miss bit timeout at end of character (OC1 int)
* Z80int-jmp.asm
- reorganization to reduce flash footprint
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@201
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 19 Mar 2013 11:24:24 +0000 (11:24 +0000)]
* Minor corrections/optimizations.
- dsk_fat16.asm: Use of _255 register, movw (22 bytes flash saved ;).
- dsk_fsys.asm: rcall/rjmp --> lcall/ljmp
- mmc.asm: Temp var mmc_ocr eliminated (4 bytes ram reclaimed ;).
- virt_ports.asm: rcall/rjmp --> lcall/ljmp
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@200
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 17 Feb 2013 03:22:21 +0000 (03:22 +0000)]
* I2C: Don't get stuck, if pullups are missing (timeout error)
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@199
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 17 Feb 2013 00:13:59 +0000 (00:13 +0000)]
* ZSDOS clock driver updated.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@198
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 13 Feb 2013 10:54:54 +0000 (10:54 +0000)]
* Set macro I2C=0 as default.
* avr/timer.asm
- Some flash bytes saved.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@197
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 12 Feb 2013 01:49:04 +0000 (01:49 +0000)]
* avr/timer.asm
Bugfix: Relative branch out of reach
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@196
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 11 Feb 2013 21:34:04 +0000 (21:34 +0000)]
* I2C Support added
- Generic I2C driver
- PCF8574 8-bit I/O support
- PCF8583 RTC support
* cpm/utils/AVRCLOCK.MAC
- ZSDOS clock driver added
* cpm/utils/TIMER.MAC
- renamed to ACT.MAC
* cpm/utils/RTCDEMO.PAS
- Turbo Pascal program to demonstrate the I2C interface added.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@195
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 11 Feb 2013 18:58:59 +0000 (18:58 +0000)]
* minor corrections/enhancements
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@194
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sat, 28 Apr 2012 07:19:24 +0000 (07:19 +0000)]
* cpm/BIOS.MAC
- Bugfix: clear reselection flag when boot disk is selected in wboot
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@193
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 27 Apr 2012 19:12:15 +0000 (19:12 +0000)]
* avr/timer.asm
- Added a wall clock
* new files:
- cpm/CPM63.SYS
- cpm/CPM64.SYS
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@192
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 30 Mar 2012 07:16:50 +0000 (07:16 +0000)]
* avr/sw-uart.asm
- Empty uart receive buffer on break detection
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@191
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 27 Mar 2012 12:49:11 +0000 (12:49 +0000)]
* RAMDISK (re)integrated
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@190
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 26 Mar 2012 09:10:32 +0000 (09:10 +0000)]
* Ignore svnrev.inc
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@189
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sat, 24 Mar 2012 07:27:50 +0000 (07:27 +0000)]
* avr/config.inc
- Version number set to 3.0
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@187
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 23 Mar 2012 21:14:55 +0000 (21:14 +0000)]
* avr/Z80int-jmp.asm
- Z80 instruction set now complete.
- DAA if N=1 works
- INC/DEC really fixed now
- DJNZ optimization by Joe G.
* avr/utils.asm
- printregs: Z80 alternate registers lower case
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@186
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 21 Mar 2012 19:23:51 +0000 (19:23 +0000)]
* avr/Z80int-jmp.asm
- INI, INIR, IND, INDR, OUTI, OTIR, OUTD, OUTDR added.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@185
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 21 Mar 2012 15:56:16 +0000 (15:56 +0000)]
* avr/Z80int-jmp.asm
- Bugfix: XOR A,<ixh,ixl,iyh,iyl, (<ix,iy>+d)>
- Bugfix: CP<i,r><d>
- LDxx, CPxx refactored
- INC/DEC cleaned up
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@184
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 20 Mar 2012 10:57:19 +0000 (10:57 +0000)]
* avr/Z80int-jmp.asm
- Z80 shift and rotate instructions added
- Extra store and fetch ops for "LD (Ix+d),n"
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@183
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 19 Mar 2012 21:28:26 +0000 (21:28 +0000)]
* Updateted old interpreters
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@182
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 19 Mar 2012 19:36:07 +0000 (19:36 +0000)]
* avr/Z80int-jmp.asm
- DD/FD-CB opcode table implemented
- LDD, LDI, LDIR, CPI, CPIR, CPD, CPDR implementd
- Use Y register as data pointer --> must not be changed in subroutine calls
* avr/virt_ports.asm
- Save Y register
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@181
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sat, 17 Mar 2012 15:51:06 +0000 (15:51 +0000)]
* avr/Z80int-jmp.asm
- 16 bit ADC and SBC flag settings corrected
- BIT/RES/SET implemented
- Interrupt modes and IFF1/IFF2 implemented
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@180
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 16 Mar 2012 22:42:46 +0000 (22:42 +0000)]
* cpm/utils/TIMER.MAC
- Integrate Peter Sieg's benchmark loop.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@179
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 16 Mar 2012 14:34:52 +0000 (14:34 +0000)]
* Z80 1-byte opcodes, ED (except blocktransfer and search instructions) and DD/FD nearly complete.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@178
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 14 Mar 2012 17:12:40 +0000 (17:12 +0000)]
* cpm/utils/*.mac
- Renamed to upper case
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@177
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 14 Mar 2012 16:34:29 +0000 (16:34 +0000)]
* cpm/utils/timer.mac
- New commands: Enable/Disable trace
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@176
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 13 Mar 2012 22:45:50 +0000 (22:45 +0000)]
* cpm/Makefile
- Windows/Linux
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@175
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 13 Mar 2012 18:52:08 +0000 (18:52 +0000)]
* Renamed Z80int.asm to 8080int-orig.asm
* avr/Z80int-jmp.asm: New Z80 interpreter with Z80-opcode tables (incomplete).
- based on 8080int-jmp.asm
* avr/init.asm
- Print SVN revision number on start up.
- RAM test stops aber 16 errors.
* avr/sw-uart.asm: break detection
- break triggers warmboot
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@174
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 13 Mar 2012 10:06:01 +0000 (10:06 +0000)]
* avr/config.inc
- new version
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@170
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sat, 10 Mar 2012 13:43:34 +0000 (13:43 +0000)]
* avr/8080int-*.asm
- DAA algorithm changes
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@169
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 4 Mar 2012 21:35:31 +0000 (21:35 +0000)]
* avr/8080int-*.asm
- DAA instruction corrected
- Flag treatment corrected
* avr/8080int-jmp.asm
- Minor opcode and jump table optimizations
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@168
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 21 Apr 2011 14:56:40 +0000 (14:56 +0000)]
* cpm/Makefile
- Bootable diskimage in simhd format.
* avr/dsk_fsys.asm
- simhd is now bootable.
* avr/dsk_mgr.asm
- bugfix in mgr_check_bootsektor.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@167
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 20 Apr 2011 21:30:47 +0000 (21:30 +0000)]
* cpm/Makefile
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@166
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 19 Apr 2011 22:45:26 +0000 (22:45 +0000)]
* avr/mmc.asm
- SPI_MODE is now configurable.
- mmcReadSect: Print all data read if MMC_DEBUG >= 4 .
* avr/dsk_fat16.asm
- Bugfix: Allow disk image names CPMDSK_x.IMG, where x in A..Z.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@165
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 17 Apr 2011 20:35:27 +0000 (20:35 +0000)]
* cpm/Makefile
- Minor changes (Windows)
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@164
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 14 Apr 2011 14:07:02 +0000 (14:07 +0000)]
* cpm/Makefile
- CP/M emulator changed from zxcc to aliados.
- CP/M files filenames changed to upper case.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@163
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sat, 9 Apr 2011 21:26:38 +0000 (21:26 +0000)]
* cpm/ipl.mac
- Load logical sectors ignoring track numbers.
* cpm/bios.mac
-Dynamic disk parameters for drives A - H.
* avr/utils.asm, avr/init.asm, avr/virt_ports.asm, avr/dsk_cpm.asm, avr/dsk_fat16.asm, avr/dsk_mgr.asm
- minor changes
* avr/dsk_fsys.asm
reorganization
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@162
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 12 Oct 2010 10:06:30 +0000 (10:06 +0000)]
* Added detection of simh AltairZ80 Simulator harddisk format.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@150
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 11 Oct 2010 00:37:08 +0000 (00:37 +0000)]
* Test: Change directory hierarchy.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@147
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 11 Oct 2010 00:35:33 +0000 (00:35 +0000)]
* Test: Change directory hierarchy
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@146
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 10 Oct 2010 23:45:10 +0000 (23:45 +0000)]
* Test: change directory hierarchy.
git-svn-id: svn://cu.loc/avr-cpm/avrcpm/trunk@145
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 10 Oct 2010 21:47:52 +0000 (21:47 +0000)]
* Added 'makeimage' program from Frank Zoll to the new 'tools' directory.
git-svn-id: svn://cu.loc/avr-cpm/trunk@144
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 10 Oct 2010 11:48:43 +0000 (11:48 +0000)]
* This code is experimental and may destroy data on disk images!
* At present, the following image formats are recognized:
- MyZ80
- YAZE (ydsk)
- avrcpm (of course)
git-svn-id: svn://cu.loc/avr-cpm/trunk@143
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sat, 9 Oct 2010 07:52:52 +0000 (07:52 +0000)]
* 'heap.asm' added.
git-svn-id: svn://cu.loc/avr-cpm/trunk@142
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 8 Oct 2010 21:29:58 +0000 (21:29 +0000)]
* Limit partition, resp. file image size to only 32MB. This frees up 2 bytes per entry in the 'hostparttbl' table.
git-svn-id: svn://cu.loc/avr-cpm/trunk@141
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 8 Oct 2010 11:50:18 +0000 (11:50 +0000)]
* ipl.mac added
* wipe.mac added
git-svn-id: svn://cu.loc/avr-cpm/trunk@140
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 8 Oct 2010 10:50:03 +0000 (10:50 +0000)]
* Merged fat16-test back into trunk.
* eol-style set.
git-svn-id: svn://cu.loc/avr-cpm/trunk@139
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 8 Oct 2010 09:41:31 +0000 (09:41 +0000)]
eol-style for M80 source files set to CRLF
git-svn-id: svn://cu.loc/avr-cpm/trunk@138
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 8 Oct 2010 00:29:36 +0000 (00:29 +0000)]
* Start of dynamic disk size code.
git-svn-id: svn://cu.loc/avr-cpm/trunk@137
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 7 Oct 2010 08:10:33 +0000 (08:10 +0000)]
* More rcall --> lcall changes.
git-svn-id: svn://cu.loc/avr-cpm/trunk@131
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 6 Oct 2010 22:22:37 +0000 (22:22 +0000)]
* Merged fat16-test back into trunk.
git-svn-id: svn://cu.loc/avr-cpm/trunk@130
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 6 Oct 2010 21:17:22 +0000 (21:17 +0000)]
git-svn-id: svn://cu.loc/avr-cpm/trunk@129
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 6 Oct 2010 21:15:11 +0000 (21:15 +0000)]
git-svn-id: svn://cu.loc/avr-cpm/trunk@128
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 6 Oct 2010 18:40:42 +0000 (18:40 +0000)]
* New macros 'ldsw' and 'stsw'
git-svn-id: svn://cu.loc/avr-cpm/trunk@127
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 6 Oct 2010 11:50:54 +0000 (11:50 +0000)]
* avr/dsk_fat16.asm
- Write access enabled
- Some (r)jmp/(r)call optimization.
git-svn-id: svn://cu.loc/avr-cpm/trunk@121
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 6 Oct 2010 11:48:39 +0000 (11:48 +0000)]
* Undo previous commit.
git-svn-id: svn://cu.loc/avr-cpm/trunk@120
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 6 Oct 2010 10:54:28 +0000 (10:54 +0000)]
* avr/dsk_fat16.asm
- Write access enabled
- Some (r)jmp/(r)call optimization.
git-svn-id: svn://cu.loc/avr-cpm/trunk@119
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Wed, 6 Oct 2010 08:58:50 +0000 (08:58 +0000)]
git-svn-id: svn://cu.loc/avr-cpm/trunk@118
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Tue, 5 Oct 2010 11:57:21 +0000 (11:57 +0000)]
git-svn-id: svn://cu.loc/avr-cpm/trunk@117
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Tue, 5 Oct 2010 11:42:36 +0000 (11:42 +0000)]
git-svn-id: svn://cu.loc/avr-cpm/trunk@116
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Tue, 5 Oct 2010 11:29:30 +0000 (11:29 +0000)]
git-svn-id: svn://cu.loc/avr-cpm/trunk@115
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Tue, 5 Oct 2010 11:04:22 +0000 (11:04 +0000)]
git-svn-id: svn://cu.loc/avr-cpm/trunk@114
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Sat, 2 Oct 2010 21:30:51 +0000 (21:30 +0000)]
* avr/dsk_fat16.asm
More than one disk image (Up to max # of CP/M disks).
git-svn-id: svn://cu.loc/avr-cpm/trunk@113
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 1 Oct 2010 20:21:38 +0000 (20:21 +0000)]
* More rcall --> lcall changes.
git-svn-id: svn://cu.loc/avr-cpm/trunk@112
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Fri, 1 Oct 2010 20:06:38 +0000 (20:06 +0000)]
* avr/dsk_fat16.asm
Disk image file working R/O.
git-svn-id: svn://cu.loc/avr-cpm/trunk@111
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 1 Oct 2010 19:38:41 +0000 (19:38 +0000)]
* New macros 'lcall' and 'ljmp'
- Use these macros for "longer" jumps and calls.
* avr/dsk_mgr.asm:
- Clean up partition table print.
git-svn-id: svn://cu.loc/avr-cpm/trunk@110
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 1 Oct 2010 10:12:32 +0000 (10:12 +0000)]
* Rest of 'remainders.asm' split:
- avr/dram-refresh.asm
- avr/timer.asm
- avr/utils.asm
git-svn-id: svn://cu.loc/avr-cpm/trunk@109
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 1 Oct 2010 09:34:19 +0000 (09:34 +0000)]
* New macros sbiw and INTERRUPT:
- The INTERRUPT macro inserts the right jump instruction (rjmp/jmp) in the interrupt vector table.
* new functions: dram_read[w]_pp, dram_write[w]_pp
- read/write byte/word with address autoincrement.
* Affected files:
- avr/macros.inc
- avr/hw-uart.asm
- avr/sw-uart.asm
- avr/remainders.asm
- avr/init.asm
- avr/dram-8bit.asm
- avr/dram-8bit.asm
- avr/avrcpm.asm
- avr/config.inc
git-svn-id: svn://cu.loc/avr-cpm/trunk@108
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Fri, 1 Oct 2010 06:58:07 +0000 (06:58 +0000)]
* More changes for FAT16 support.
git-svn-id: svn://cu.loc/avr-cpm/trunk@107
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Thu, 30 Sep 2010 23:45:42 +0000 (23:45 +0000)]
* Initial changes for FAT16 support.
* The following files are splitt from 'avr/avrcpm.asm':
- avr/dsk_mgr.asm
- avr/dsk_fsys.asm
- avr/dsk_cpm.asm
- avr/dsk_ram.asm
- avr/virt_ports.asm
* New file:
- avr/dsk_fat16.asm
git-svn-id: svn://cu.loc/avr-cpm/trunk@106
57430480 -672e-4586-8877-
bcf8adbbf3b7
Frank Zoll [Thu, 30 Sep 2010 23:04:44 +0000 (23:04 +0000)]
* New file:
- avr/dsk_cpm.asm
git-svn-id: svn://cu.loc/avr-cpm/trunk@105
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 26 Sep 2010 13:42:44 +0000 (13:42 +0000)]
* New files:
- /cpm/bios.mac
- /cpm/avrcpm.lib
- /cpm/z80asm_to_mac.awk
git-svn-id: svn://cu.loc/avr-cpm/trunk@104
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 23 Sep 2010 13:27:14 +0000 (13:27 +0000)]
Merged branch modules back into trunk.
git-svn-id: svn://cu.loc/avr-cpm/trunk@100
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 23 Sep 2010 12:59:43 +0000 (12:59 +0000)]
* cpm/Makefile
- cpmdsk/BIOS.MAC changed to BIOS.MAC
git-svn-id: svn://cu.loc/avr-cpm/trunk@98
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 16 Aug 2010 12:55:24 +0000 (12:55 +0000)]
* cpm/bios.asm:
- Correct rounding of drm/4. Should do 16 bit.
* cpm/ipl.asm:
- Bugfix: define cr and lf.
* cpm/Makefile:
- cpm.bin: Copy (all) 7 sectors from bios.bin.
- New Target cpmdsk/BIOS.MAC: Convert bios.asm to M80 syntax.
git-svn-id: svn://cu.loc/avr-cpm/trunk@78
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 6 Aug 2010 22:36:36 +0000 (22:36 +0000)]
* avr/z80.asm:
- Reinit sd card if needed.
- Added printhexw.
- resetAVR: Wait, till tx buffer is empty.
- Bugfix in sysclockint: Can't use _0 register in interrupt.
git-svn-id: svn://cu.loc/avr-cpm/trunk@73
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 6 Aug 2010 19:38:10 +0000 (19:38 +0000)]
* avr/ipl.asm
- Added print message func.
git-svn-id: svn://cu.loc/avr-cpm/trunk@71
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 6 Aug 2010 10:08:56 +0000 (10:08 +0000)]
* avr/z80.asm:
- Added a RAM disk
git-svn-id: svn://cu.loc/avr-cpm/trunk@70
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 5 Aug 2010 20:27:44 +0000 (20:27 +0000)]
* avr/z80.asm:
- Bugfix: SD card without partition table: Set size to 8MB.
git-svn-id: svn://cu.loc/avr-cpm/trunk@68
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 5 Aug 2010 13:39:22 +0000 (13:39 +0000)]
Merge softuart/cpm back into trunk:
* cpm/bios.asm:
- Ramdisk: changed DRM from 15 to 31.
- Changed '$nnnn' notation to 'nnnnh' to ease porting to ohter assemblers (M80).
git-svn-id: svn://cu.loc/avr-cpm/trunk@66
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 5 Aug 2010 09:32:02 +0000 (09:32 +0000)]
* avr/z80.asm:
- Save partition sizes and check if sector to be read or written is in partition range.
- read/write functions return error code to Z80 bios.
- Some bugfixes and cleanups in (de)blocking code.
- DRAM refresh interupt does nothing, if read or write cycle is in progress.
- print_ultoa saves all used registers.
git-svn-id: svn://cu.loc/avr-cpm/trunk@64
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 5 Aug 2010 08:43:26 +0000 (08:43 +0000)]
Merge softuart/cpm back into trunk:
* cpm/bios.asm:
- read/write: Get error code from avr part and return it to caller.
- Added dph/dpb for ramdisk.
- boot: If ramdisk exists, clear directory area, and copy ccp+bdos from boot disk.
- wboot: Load system from ramdisk, if feasible.
- Added print hex and reorderd functions to ease debugging.
* cpm/ipl.asm
- Increased number of sectors to load from 49 to 51 (= all reserved sectors).
* cpm/Makefile:
- oflag=direct removed from installcpm target.
git-svn-id: svn://cu.loc/avr-cpm/trunk@63
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 28 Jul 2010 21:15:20 +0000 (21:15 +0000)]
* avr/z80.asm:
- Order of tests changed.
git-svn-id: svn://cu.loc/avr-cpm/trunk@61
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 28 Jul 2010 20:21:17 +0000 (20:21 +0000)]
* avr/z80.asm:
- Scan partition table of sd-card and mount CP/M partitions as disk drives.
* cpm/bios.asm:
- seldsk: More then 1 disk selectable (4 for now). The actual number of disks will be determined in avr-part.
- dph/dpb tables extended accordingly.
git-svn-id: svn://cu.loc/avr-cpm/trunk@60
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 28 Jul 2010 19:46:11 +0000 (19:46 +0000)]
Added keywords to more files
git-svn-id: svn://cu.loc/avr-cpm/trunk@59
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 28 Jul 2010 19:39:16 +0000 (19:39 +0000)]
* avr/z80.asm:
- added keywords
git-svn-id: svn://cu.loc/avr-cpm/trunk@58
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Wed, 28 Jul 2010 19:32:31 +0000 (19:32 +0000)]
* avr/z80.asm:
- Added macro DRAM_WAITSTATES
- Some clean up in the init code.
- mmc read/write: Enable 32 bit sector/byte addresses.
- adrl/adrh are no longer used as dedicated dram adress registers. Replaced by the predefined names yl/yh.
- added keywords
git-svn-id: svn://cu.loc/avr-cpm/trunk@57
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 26 Jul 2010 06:28:08 +0000 (06:28 +0000)]
* avr/z80.asm:
- Interpreter: inc/dec optimization.
git-svn-id: svn://cu.loc/avr-cpm/trunk@53
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 25 Jul 2010 23:08:53 +0000 (23:08 +0000)]
* avr/z80.asm:
- Interpreter: Apply most ALU operations (add/adc/sub/sbc/and/or/xor/cpl) direkt to z_a, so the STORE_A phase can be skipped.
git-svn-id: svn://cu.loc/avr-cpm/trunk@52
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Sun, 25 Jul 2010 22:40:07 +0000 (22:40 +0000)]
* avr/z80.asm:
- Removed DRAM_DQ_ORDER.
- New macros inm8/outm8 to hide the differences between ATmega8 and ATmegaX8.
- Added USART TX buffer with Interrupt.
- DRAM read: 1 nop added.
- Cleaned up INS_DEBUG.
git-svn-id: svn://cu.loc/avr-cpm/trunk@51
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 20 Jul 2010 19:59:30 +0000 (19:59 +0000)]
* avr/z80.asm:
- Added ATmega328P
git-svn-id: svn://cu.loc/avr-cpm/trunk@41
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Mon, 19 Jul 2010 15:25:20 +0000 (15:25 +0000)]
From experimental:
Initial implementation of blocking and deblocking algorithms.
See CP/M 2.2 ALTERATION GUIDE for reference.
* cpm/bios.asm:
- New disk I/O interface.
- 16 bit wide track numbers
- sectran competed. Unused translation table removed.
* cpm/ipl.asm:
- New disk I/O interface.
* cpm/Makefile:
- new target "installcpm": Install only system tracks.
* avr/z80.asm:
- New disk I/O interface.
- (de)blocking algorithm. Disk parameters are fixed for now.
- 16 bit wide track numbers
- register reorganisation
- "printstr" saves *all* registers.
* cpm/cpmdsk/:
- replaced demaged MBASIC.COM
- added ELIZA.COM
- removd ZORK1.*
- added T.COM (Timer control)
git-svn-id: svn://cu.loc/avr-cpm/trunk@32
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 16 Jul 2010 00:08:50 +0000 (00:08 +0000)]
Initial implementation of blocking and deblocking algorithms.
See CP/M 2.2 ALTERATION GUIDE for reference.
* cpm/bios.asm:
- New disk I/O interface.
- 16 bit wide track numbers
- sectran competed. Unused translation table removed.
* cpm/ipl.asm:
- New disk I/O interface.
* cpm/Makefile:
- new target "installcpm": Install only system tracks.
* avr/z80.asm:
- New disk I/O interface.
- (de)blocking algorithm. Disk parameters are fixed for now.
- 16 bit wide track numbers
- register reorganisation
- "printstr" saves *all* registers.
* cpm/cpmdsk/:
- replaced demaged MBASIC.COM
- added ELIZA.COM
- removd ZORK1.*
- added T.COM (Timer control)
git-svn-id: svn://cu.loc/avr-cpm/trunk@30
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 9 Jul 2010 08:39:02 +0000 (08:39 +0000)]
From experimental:
- More dram optimization.
- New functions: dram_read_w, dram_write_w
git-svn-id: svn://cu.loc/avr-cpm/trunk@29
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Fri, 9 Jul 2010 07:07:01 +0000 (07:07 +0000)]
From experimental:
- Register reorganisation
- movw and adiw where possible
- Jumptable and interpreter optimizations.
git-svn-id: svn://cu.loc/avr-cpm/trunk@28
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Thu, 8 Jul 2010 20:06:48 +0000 (20:06 +0000)]
ignore .hex and .lst files
git-svn-id: svn://cu.loc/avr-cpm/trunk@26
57430480 -672e-4586-8877-
bcf8adbbf3b7
Leo [Tue, 6 Jul 2010 12:30:52 +0000 (12:30 +0000)]
mmc bug fixes by Joe
git-svn-id: svn://cu.loc/avr-cpm/trunk@19
57430480 -672e-4586-8877-
bcf8adbbf3b7