]> cloudbase.mooo.com Git - z180-stamp.git/log
z180-stamp.git
5 years agoMerge branch 'fatfs-integration' into fatcommands fatcommands
Leo C [Mon, 28 May 2018 11:07:24 +0000 (13:07 +0200)]
Merge branch 'fatfs-integration' into fatcommands

# Conflicts:
# include/avr/ffconf.h

5 years agoAdaptions for fatfs R0.13b
Leo C [Sun, 27 May 2018 23:33:27 +0000 (01:33 +0200)]
Adaptions for fatfs R0.13b

5 years agoMerge branch 'chan-fatfs' into fatfs-integration
Leo C [Sun, 27 May 2018 22:33:58 +0000 (00:33 +0200)]
Merge branch 'chan-fatfs' into fatfs-integration

# Conflicts:
# fatfs/source/diskio.h
# fatfs/source/integer.h
# fatfs/src/integer.h
# fatfs/src/option/ccsbcs.c
# include/avr/ffconf.h
# include/integer.h

5 years agoApply patch ff13b_p1
Leo C [Sun, 27 May 2018 20:06:51 +0000 (22:06 +0200)]
Apply patch ff13b_p1

5 years agoImport fatfs R0.13b
Leo C [Sun, 27 May 2018 19:26:38 +0000 (21:26 +0200)]
Import fatfs R0.13b

5 years agofix '..' and '.'
Leo C [Sun, 27 May 2018 01:02:43 +0000 (03:02 +0200)]
fix '..' and '.'

5 years agoNew command: fat attrib
Leo C [Sun, 27 May 2018 01:01:46 +0000 (03:01 +0200)]
New command: fat attrib

5 years agodo_ls() (WIP)
Leo C [Sat, 26 May 2018 11:11:19 +0000 (13:11 +0200)]
do_ls() (WIP)

5 years agorefactor path functions, working do_rm()
Leo C [Sat, 26 May 2018 07:44:32 +0000 (09:44 +0200)]
refactor path functions, working do_rm()

5 years agocleanup do_cd() do_pwd()
Leo C [Fri, 25 May 2018 09:04:53 +0000 (11:04 +0200)]
cleanup do_cd() do_pwd()

5 years agosome cleanup, more debugging
Leo C [Thu, 24 May 2018 02:22:55 +0000 (04:22 +0200)]
some cleanup, more debugging

5 years agoadd fat commands rm, rmdir, mkdir (WIP)
Leo C [Fri, 18 May 2018 11:07:45 +0000 (13:07 +0200)]
add fat commands rm, rmdir, mkdir (WIP)

6 years agowildcards
Leo C [Mon, 23 Apr 2018 06:28:41 +0000 (08:28 +0200)]
wildcards

6 years agofat ls: works again
Leo C [Sat, 21 Apr 2018 11:50:39 +0000 (13:50 +0200)]
fat ls: works again

6 years agofat ls: WIP
Leo C [Wed, 18 Apr 2018 19:47:46 +0000 (21:47 +0200)]
fat ls: WIP

6 years agofat cp: reorg
Leo C [Tue, 17 Apr 2018 09:43:03 +0000 (11:43 +0200)]
fat cp: reorg

6 years agofat cp: copy_dir (untested)
Leo C [Mon, 16 Apr 2018 19:28:50 +0000 (21:28 +0200)]
fat cp: copy_dir (untested)

6 years agofat cp: DEBUG; flags p,n,f, (v);leading '/'
Leo C [Fri, 13 Apr 2018 06:59:57 +0000 (08:59 +0200)]
fat cp: DEBUG; flags p,n,f, (v);leading '/'

6 years agofat cp: mem alloc
Leo C [Thu, 12 Apr 2018 11:15:27 +0000 (13:15 +0200)]
fat cp: mem alloc

6 years agofat cp: more on flags
Leo C [Thu, 12 Apr 2018 06:37:31 +0000 (08:37 +0200)]
fat cp: more on flags

6 years agofat cp: block buffer --> heap
Leo C [Wed, 11 Apr 2018 23:53:08 +0000 (01:53 +0200)]
fat cp: block buffer --> heap

6 years agofat cp: flags
Leo C [Wed, 11 Apr 2018 21:35:46 +0000 (23:35 +0200)]
fat cp: flags

6 years agofat cp: WIP
Leo C [Wed, 11 Apr 2018 17:21:59 +0000 (19:21 +0200)]
fat cp: WIP

6 years agodebug.c/printfreelist(): printf() --> printf_P()
Leo C [Wed, 11 Apr 2018 17:20:56 +0000 (19:20 +0200)]
debug.c/printfreelist(): printf() --> printf_P()

6 years agosome bugs fixed (WIP)
Leo C [Wed, 11 Apr 2018 12:37:07 +0000 (14:37 +0200)]
some bugs fixed (WIP)

6 years ago+ cp command (WIP)
Leo C [Wed, 11 Apr 2018 09:08:39 +0000 (11:08 +0200)]
+ cp command (WIP)

6 years agocmd_fat.c: reorg
Leo C [Tue, 10 Apr 2018 09:56:13 +0000 (11:56 +0200)]
cmd_fat.c: reorg

6 years agomove *cmd_array[] from stack to heap
Leo C [Tue, 10 Apr 2018 06:26:33 +0000 (08:26 +0200)]
move *cmd_array[] from stack to heap

6 years agoRecursive cmd_find(), new command table flag: CTBL_RPT
Leo C [Mon, 9 Apr 2018 21:51:36 +0000 (23:51 +0200)]
Recursive cmd_find(), new command table flag: CTBL_RPT

6 years agoNew debug command: dump heap
Leo C [Sun, 8 Apr 2018 19:19:47 +0000 (21:19 +0200)]
New debug command: dump heap

6 years agoRemove xmalloc.c, fix potential 0-pointer derefenrence in cli.c.
Leo C [Sun, 8 Apr 2018 19:18:35 +0000 (21:18 +0200)]
Remove xmalloc.c, fix potential 0-pointer derefenrence in cli.c.

6 years agoFind subcommands without prefix
Leo C [Sun, 8 Apr 2018 14:45:56 +0000 (16:45 +0200)]
Find subcommands without prefix

6 years agoRemove extern declarations from command_tbl.c, create .h files for that.
Leo C [Sun, 8 Apr 2018 12:35:22 +0000 (14:35 +0200)]
Remove extern declarations from command_tbl.c, create .h files for that.

6 years agoGlobal help
Leo C [Sun, 8 Apr 2018 10:48:28 +0000 (12:48 +0200)]
Global help

6 years agoCall subcommands from main command processor
Leo C [Sun, 8 Apr 2018 08:16:20 +0000 (10:16 +0200)]
Call subcommands from main command processor

6 years agocommandtable, flags: int --> uint8_t/uint_fast8_t. Macro UNUSED for Parameters/Variables
Leo C [Sat, 7 Apr 2018 20:27:07 +0000 (22:27 +0200)]
commandtable, flags: int --> uint8_t/uint_fast8_t. Macro UNUSED for Parameters/Variables

6 years agoworking fat ls whith relative path and wildcards
Leo C [Sat, 7 Apr 2018 11:16:09 +0000 (13:16 +0200)]
working fat ls whith relative path and wildcards

6 years agowhite space changes
Leo C [Fri, 6 Apr 2018 22:36:56 +0000 (00:36 +0200)]
white space changes

6 years agoSet __malloc_margin, Print free heap command
Leo C [Fri, 6 Apr 2018 22:35:51 +0000 (00:35 +0200)]
Set __malloc_margin, Print free heap command

6 years agoENV_HOME macro. 'fat help' command table entry
Leo C [Wed, 4 Apr 2018 19:23:51 +0000 (21:23 +0200)]
ENV_HOME macro. 'fat help' command table entry

6 years agofat commands are now subcommands of a single fat command. Added 'fat cd' and 'fat...
Leo C [Tue, 3 Apr 2018 22:08:52 +0000 (00:08 +0200)]
fat commands are now subcommands of a single fat command. Added 'fat cd' and 'fat pwd'.

6 years agoRemove STM32 variant (and submodule libopencm3)
Leo C [Tue, 3 Apr 2018 11:43:51 +0000 (13:43 +0200)]
Remove STM32 variant (and submodule libopencm3)

Make spi_wait() and spi_write() allways inline.

7 years agoAdaptions for fatfs R0.12b
Leo C [Fri, 9 Sep 2016 23:51:36 +0000 (01:51 +0200)]
Adaptions for fatfs R0.12b

7 years agoMerge branch 'chan-fatfs' into fatfs-integration
Leo C [Thu, 8 Sep 2016 18:59:55 +0000 (20:59 +0200)]
Merge branch 'chan-fatfs' into fatfs-integration

# Conflicts:
# .gitignore
# fatfs/src/diskio.h
# fatfs/src/option/ccsbcs.c
# include/avr/ffconf.h
# include/integer.h

7 years agoImport fatfs R0.12b
Leo C [Thu, 8 Sep 2016 17:15:27 +0000 (19:15 +0200)]
Import fatfs R0.12b

7 years agoVersion 0.6.8.2 hexrel-6.8.2
Leo C [Tue, 30 Aug 2016 21:20:03 +0000 (23:20 +0200)]
Version 0.6.8.2

7 years agoDetect ZRESET polarity
Leo C [Tue, 30 Aug 2016 21:11:32 +0000 (23:11 +0200)]
Detect ZRESET polarity

7 years agoPrompt
Leo C [Mon, 29 Aug 2016 19:07:21 +0000 (21:07 +0200)]
Prompt

7 years agoDDTZ: remove some unused labels
Leo C [Thu, 25 Aug 2016 16:35:54 +0000 (18:35 +0200)]
DDTZ: remove some unused labels

7 years agoSet GCC_BUG_61443 macro automatically for the affected GCC versions.
Leo C [Thu, 25 Aug 2016 10:01:09 +0000 (12:01 +0200)]
Set GCC_BUG_61443 macro automatically for the affected GCC versions.

7 years agoavr/z180-serv.c: Workaround for GCC bug PR61443
Leo C [Thu, 25 Aug 2016 06:36:04 +0000 (08:36 +0200)]
avr/z180-serv.c: Workaround for GCC bug PR61443

7 years agocmd_attach.c: Correct workaround for GCC bug PR61443
Leo C [Wed, 24 Aug 2016 22:24:07 +0000 (00:24 +0200)]
cmd_attach.c: Correct workaround for GCC bug PR61443

7 years agoUpdate libopencm3
Leo C [Wed, 24 Aug 2016 22:23:12 +0000 (00:23 +0200)]
Update libopencm3

7 years agoAdditional Codes for HOME and END key.
Leo C [Wed, 13 Jul 2016 22:20:10 +0000 (00:20 +0200)]
Additional Codes for HOME and END key.

7 years agoVersion 0.6.8.1 hexrel-6.8.1
Leo C [Tue, 21 Jun 2016 15:45:23 +0000 (17:45 +0200)]
Version 0.6.8.1

7 years agoExpression eval: Repair unary + and -
Leo C [Tue, 21 Jun 2016 21:14:01 +0000 (23:14 +0200)]
Expression eval: Repair unary + and -

7 years agoaval_arg() for all commands
Leo C [Tue, 21 Jun 2016 13:10:40 +0000 (15:10 +0200)]
aval_arg() for all commands

7 years agoEnable expression evaluation for numeric command line args
Leo C [Tue, 21 Jun 2016 11:18:19 +0000 (13:18 +0200)]
Enable expression evaluation for numeric command line args

7 years agoEnable monitor debugging commands only, if env var 'cmd' is set to 'debug'.
Leo C [Fri, 17 Jun 2016 19:47:17 +0000 (21:47 +0200)]
Enable monitor debugging commands only, if env var 'cmd' is set to 'debug'.

7 years agoAdd verbose and xtrace options to cli
Leo C [Fri, 17 Jun 2016 13:52:16 +0000 (15:52 +0200)]
Add verbose and xtrace options to cli

7 years agoAdd "SS3 H" for Home Key
Leo C [Tue, 21 Jun 2016 15:07:38 +0000 (17:07 +0200)]
Add "SS3 H" for Home Key

7 years agoRename getenv_char() --> getenv_str()
Leo C [Fri, 17 Jun 2016 13:46:30 +0000 (15:46 +0200)]
Rename getenv_char() --> getenv_str()

7 years agoCode clean up
Leo C [Fri, 17 Jun 2016 13:42:31 +0000 (15:42 +0200)]
Code clean up

7 years agohist-search-backward / hist-search-forward (KEY_PPAGE/KEY_NPAGE)
Leo C [Thu, 16 Jun 2016 14:13:22 +0000 (16:13 +0200)]
hist-search-backward / hist-search-forward (KEY_PPAGE/KEY_NPAGE)

7 years agocatch weird escape sequence: 'SS3 F' --> KEY_END
Leo C [Thu, 16 Jun 2016 14:10:23 +0000 (16:10 +0200)]
catch weird escape sequence: 'SS3 F' --> KEY_END

7 years agocli_readline.c: code cleanup (history search)
Leo C [Thu, 16 Jun 2016 07:06:49 +0000 (09:06 +0200)]
cli_readline.c: code cleanup (history search)

7 years agoLinked list for history buffer
Leo C [Wed, 15 Jun 2016 06:50:09 +0000 (08:50 +0200)]
Linked list for history buffer

7 years agoclean up
Leo C [Fri, 17 Jun 2016 18:50:55 +0000 (20:50 +0200)]
clean up

7 years agoZ180 parameter checks
Leo C [Mon, 13 Jun 2016 21:04:35 +0000 (23:04 +0200)]
Z180 parameter checks

7 years agoBump version number to 0.6.8 hexrel-6.8
Leo C [Fri, 10 Jun 2016 22:42:02 +0000 (00:42 +0200)]
Bump version number to 0.6.8

7 years agobootcf fixes
Leo C [Fri, 10 Jun 2016 22:41:17 +0000 (00:41 +0200)]
bootcf fixes

7 years agoUpdate attach help text
Leo C [Fri, 10 Jun 2016 14:27:43 +0000 (16:27 +0200)]
Update attach help text

7 years agooverhaul CP/M drive logging/debugging
Leo C [Fri, 10 Jun 2016 14:10:16 +0000 (16:10 +0200)]
overhaul CP/M drive logging/debugging

7 years ago"Enhance" CP/M drive login
Leo C [Fri, 10 Jun 2016 14:00:39 +0000 (16:00 +0200)]
"Enhance" CP/M drive login

7 years agoNew command: cfboot - boot from cf card.
Leo C [Thu, 9 Jun 2016 00:20:50 +0000 (02:20 +0200)]
New command: cfboot - boot from cf card.

7 years agoBugfix: reset getopt vars on start of a new argument line
Leo C [Sat, 4 Jun 2016 13:48:50 +0000 (15:48 +0200)]
Bugfix: reset getopt vars on start of a new argument line

7 years agoMerge tag 'hexrel-6.7.1'
Leo C [Wed, 1 Jun 2016 20:51:08 +0000 (22:51 +0200)]
Merge tag 'hexrel-6.7.1'

7 years agoVersion 0.6.7.1
Leo C [Wed, 1 Jun 2016 20:40:14 +0000 (22:40 +0200)]
Version 0.6.7.1

7 years agoVersion 0.6.7.1 hexrel-6.7.1
Leo C [Wed, 1 Jun 2016 20:34:11 +0000 (22:34 +0200)]
Version 0.6.7.1

7 years agoImplement media change flag
Leo C [Wed, 1 Jun 2016 19:25:34 +0000 (21:25 +0200)]
Implement media change flag

7 years agoloadcpm3(): set environment variable 'cpm3_scb' with base of scb (physical address)
Leo C [Wed, 1 Jun 2016 19:19:47 +0000 (21:19 +0200)]
loadcpm3(): set environment variable 'cpm3_scb' with base of scb (physical address)

7 years agodsk debug option (unfinished)
Leo C [Tue, 31 May 2016 21:34:08 +0000 (23:34 +0200)]
dsk debug option (unfinished)

7 years agoattach option: ro; do_msg_cpm_rw(): check status
Leo C [Tue, 31 May 2016 10:51:18 +0000 (12:51 +0200)]
attach option: ro; do_msg_cpm_rw(): check status

7 years agoattach/detach working (minus options)
Leo C [Mon, 30 May 2016 21:58:57 +0000 (23:58 +0200)]
attach/detach working (minus options)

7 years agoIncrease max. # of command line args to 20 and max. # of environment variables to 30
Leo C [Mon, 30 May 2016 21:46:37 +0000 (23:46 +0200)]
Increase max. # of command line args to 20 and max. # of environment variables to 30

7 years agoNew command(s): attach (and detach) - not fully working.
Leo C [Mon, 30 May 2016 15:33:27 +0000 (17:33 +0200)]
New command(s): attach (and detach) - not fully working.

7 years agoExpand image file die disk size in cp/m login function. Use relative drive number...
Leo C [Thu, 26 May 2016 17:22:07 +0000 (19:22 +0200)]
Expand image file die disk size in cp/m login function. Use relative drive number for image file mapping.

Back out short read patch as it is no longer needed.

7 years agocheck for short reads. return 512 0-bytes and no error.
Leo C [Thu, 26 May 2016 09:23:59 +0000 (11:23 +0200)]
check for short reads. return 512 0-bytes and no error.

7 years agoMAX_DRIVE, BLOCK_SIZE --> config.h; Check if access is beyond CP/M disk image size.
Leo C [Thu, 26 May 2016 08:59:12 +0000 (10:59 +0200)]
MAX_DRIVE, BLOCK_SIZE --> config.h; Check if access is beyond CP/M disk image size.

7 years agoversion in start message
Marcel [Wed, 25 May 2016 12:11:23 +0000 (14:11 +0200)]
version in start message

7 years agoAllow comments on command lines. Comment token is '#' .
Leo C [Wed, 25 May 2016 11:59:12 +0000 (13:59 +0200)]
Allow comments on command lines. Comment token is '#' .

7 years agonew command: source - run commands from a file
Leo C [Wed, 25 May 2016 11:50:53 +0000 (13:50 +0200)]
new command: source - run commands from a file

7 years agomw command: add word and longword options
Leo C [Mon, 23 May 2016 09:23:12 +0000 (11:23 +0200)]
mw command: add word and longword options

7 years agocorrect fatwrite docu
Marcel [Mon, 23 May 2016 07:32:51 +0000 (09:32 +0200)]
correct fatwrite docu

7 years agoedit z80-if.c
Leo C [Sun, 22 May 2016 21:12:17 +0000 (23:12 +0200)]
edit z80-if.c

7 years agoEnable 8 drives on sd cards hexrel-6.6.1
Leo C [Fri, 20 May 2016 01:04:32 +0000 (03:04 +0200)]
Enable 8 drives on sd cards

7 years agoGet common_base from cpm3.sys file. Update default environment (BOOTCMD) hexrel-6.6
Leo C [Tue, 17 May 2016 21:01:42 +0000 (23:01 +0200)]
Get common_base from cpm3.sys file. Update default environment (BOOTCMD)

8 years agoStore only command line input in history buffer, but not data (i.e mm command)
Leo C [Fri, 22 Apr 2016 09:21:03 +0000 (11:21 +0200)]
Store only command line input in history buffer, but not data (i.e mm command)

8 years agoEnable commandline editing with history buffer parmanently, and remove macro CONFIG_C...
Leo C [Fri, 22 Apr 2016 07:59:08 +0000 (09:59 +0200)]
Enable commandline editing with history buffer parmanently, and remove macro CONFIG_CMDLINE_EDITING and the non-history-buffer code.

8 years agoRemove redundant hist_init()
Leo C [Fri, 22 Apr 2016 07:11:02 +0000 (09:11 +0200)]
Remove redundant hist_init()