]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/command_tbl.c
move sys timer setup from main to timer.c
[z180-stamp.git] / avr / command_tbl.c
index 12261808a6009e397990610bd5a3949742d8fc81..9968dc0dfe0950e2bc457eb1dd262dc6586d065a 100644 (file)
@@ -8,6 +8,7 @@
 #include "command.h"
 #include "cmd_mem.h"
 #include "cmd_boot.h"
+#include "cmd_cpu.h"
 #include "cmd_misc.h"
 #include "cmd_date.h"
 #include "cmd_run.h"
@@ -74,6 +75,11 @@ CMD_TBL_ITEM(
        ""
 ),
 #endif
+CMD_TBL_ITEM(
+       msize,  1,      1,      do_mem_size,
+       "Detect memory size",
+       ""
+),
 CMD_TBL_ITEM(
        mstep,  2,      1,      do_busreq_pulse,
        "execute one M cycle",
@@ -100,6 +106,11 @@ CMD_TBL_ITEM_COMPLETE(
        "    - run the commands in the environment variable(s) 'var'",
        var_complete
 ),
+CMD_TBL_ITEM(
+       boot,   1,      1,      do_bootd,
+       "boot default, i.e., run 'bootcmd'",
+       ""
+),
 CMD_TBL_ITEM_COMPLETE(
        source, CONFIG_SYS_MAXARGS,     1,      do_source,
        "run commands from a file",
@@ -115,6 +126,11 @@ CMD_TBL_ITEM_TOP(
        cmd_tbl_env
 ),
 
+CMD_TBL_ITEM(
+       chkcpu, CONFIG_SYS_MAXARGS,     CTBL_RPT,       do_cpuchk,
+       "Check CPU",
+       ""
+),
 CMD_TBL_ITEM(
        loadf,  1,      0,      do_loadf,
        "load srec_cat prepared image from controller flash",
@@ -323,7 +339,7 @@ CMD_TBL_ITEM(
        attach, CONFIG_SYS_MAXARGS,     CTBL_RPT,       do_attach,
        "attach filesystem image file to CP/M drive",
        "[-rw] [-o options] dsk<n> diskfile\n"
-       "    Attach diskfile to dsk<n>, where n in 0..7\n"
+       "    Attach diskfile to dsk<n>, where n in 0.."CONFIG_CPM_MAX_DRNR_STR"\n"
        "    -r      File is read only (write protected)\n"
        "    -w      File is read/write (default)\n"
        "    -o options\n"