From a87ea1f26101d6bdc48e8ef865b292a87de45fc9 Mon Sep 17 00:00:00 2001 From: Auios Date: Fri, 16 Feb 2024 16:59:56 -0500 Subject: [PATCH] Update readme.md --- readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index e204f56..a49afdc 100644 --- a/readme.md +++ b/readme.md @@ -4,20 +4,20 @@ For a list of instructions, see [instructionList.txt](instructionList.txt). ## How to use the assembler: 1. Install `bllua3` from [https://notabug.org/redo/bllua3](https://notabug.org/redo/bllua3) -2. Download this repo somewhere into the Blockland folder. +2. Download this repo into one of Blockland's main directories. (`Add-Ons` or `base` for example) 3. In BL console, execute: ``` - luaexec("your_path/assembler-8608.lua"); + luaexec("Add-Ons/_misc/8608/assembler-8608.lua"); ``` 4. To assemble a program, place a 1x1f ghost brick on the top-left corner of the ROM, face forward, and in BL console do: ``` - AssembleBuildFile("other_path/filename.asm", "RomX RomY RomZ"); + AssembleBuildFile("Add-Ons/_misc/8608/examples/program.asm", "RomX RomY RomZ"); ``` where `RomX` is the width of the ROM, `RomY` is the depth front to back, and `RomZ` is the height in bits, i.e., "16 16 8". - + You can also run the assembler from the command line to get a memory dump and disassembly in stdout, if you have lua installed: ``` - luajit "your_path/assembler-8608.lua" "other_path/filename.asm" + luajit "Add-Ons/_misc/8608/assembler-8608.lua" "Add-Ons/_misc/8608/program/asm.asm" ``` ## How to use the emulator: