From 8be9a0ac6bd25a1c8524bd88d910046c5d78095f Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Tue, 4 Jun 2024 19:37:29 -0500 Subject: Add stage 1 editor and update README --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 960bc58..bb78be6 100644 --- a/README.md +++ b/README.md @@ -2,24 +2,30 @@ I'm starting over. -## Hexedit +## Octedit -This is a bare-minimum hex editor -which fits entirely within the 252-byte boot sector +This is a bare-minimum memory editor +which fits entirely within the 256-byte boot sector of the Raspberry Pi Pico's on-board flash. - Most of the space is dedicated to setting up the clocks, GPIO, and UART. -Enter a series of octal halfwords +To use, enter a series of octal halfwords over UART then press G to jump to the beginning of SRAM and begin executing them as instructions. - This is the first step in bootstrapping the whole system. -## Better editor +## Hexedit + +A more robust and user-friendly memory editor, +which uses hexadecimal instead of octal, +validates input characters, +and displays the address and contents +of the halfword currently being edited. -A more robust and user-friendly hex editor. +The machine code for this editor +can be keyed in using octedit +as a series of 16-bit octal halfwords. ## Assembler -- cgit v1.2.3