CLI Argument handling #7

Closed
opened 2024-06-19 15:54:19 +00:00 by jeff · 0 comments
Owner
  • appmode
  • cp
  • initfpga
  • getrtc
  • loadrom
  • mkdir
  • readmemory
  • recovery
  • servicemode
  • setrtc
  • writeflash
  • writememory
command Arguments Function/command Description
appmode N/A ExitServiceMode() exit service mode
cp source, destination usb.copyFile() copy a file
diagnostic N/A TBD run N8 diagnostics
fpgainit path FpgInit() init FPGA
getrtc time (defaults to now) RtcSet() set clock
loadrom rompath ( *.nes or *.fds), mappath (*.rbf ) rom_path required. If map_path null then map_path = getTestMapper(255) sets map_path
mkdir path usb.makeDir() make a directory
readmemory path, address, length MemRd() reads memory and writes to file (might change this to standard output)
recovery N/A Recovery() run recovery function
servicemode N/A EnterServiceMode() enter service mode
setrtc time (defaults to now) RtcSet() set clock
writeflash address, path FlaWR() writes data from file to flash address
writememory path, address, length MemWr() writes data from file to a memory address
- [x] `appmode` - [x] `cp` - [x] `initfpga` - [x] `getrtc` - [x] `loadrom` - [x] `mkdir` - [x] `readmemory` - [x] `recovery` - [x] `servicemode` - [x] `setrtc` - [x] `writeflash` - [x] `writememory` | command | Arguments | Function/command | Description | | --- | --- | --- | --- | | `appmode` | N/A | `ExitServiceMode()` | exit service mode | | `cp` | `source`, `destination` | `usb.copyFile()` | copy a file | | `diagnostic` | N/A | TBD | run N8 diagnostics | | `fpgainit` | `path` | `FpgInit()` | init FPGA | | `getrtc` | `time` (defaults to now) | `RtcSet()` | set clock | | `loadrom` | `rompath` ( `*.nes` or `*.fds`), `mappath` (`*.rbf` ) | `rom_path` required. If `map_path` null then `map_path = getTestMapper(255)` | sets `map_path` | | `mkdir` | `path` | `usb.makeDir()` | make a directory | | `readmemory` | `path`, `address`, `length` | `MemRd()` | reads memory and writes to file (might change this to standard output) | | `recovery` | N/A | `Recovery()` | run recovery function | | `servicemode` | N/A | `EnterServiceMode()` | enter service mode | | `setrtc` | `time` (defaults to now) | `RtcSet()` | set clock | | `writeflash` | `address`, `path` | `FlaWR()` | writes data from file to flash address | | `writememory` | `path`, `address`, `length` | `MemWr()` | writes data from file to a memory address |
jeff self-assigned this 2024-06-19 15:54:19 +00:00
jeff added this to the goedlink project 2024-06-19 15:54:19 +00:00
jeff closed this issue 2024-06-25 22:34:40 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jeff/goedlink#7
No description provided.