about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-14 10:30:23 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-14 13:30:01 -0700
commit2c64c52e1f06b88010fa2a2c0c1c48e7a4ba1828 (patch)
treeadffb08f9d7394963b53c91c33cd14269581aec9
parent9c4cd6db4a42847f8d879fa35e66f2a3c85ee418 (diff)
downloadmu-2c64c52e1f06b88010fa2a2c0c1c48e7a4ba1828.tar.gz
fix some broken links
-rw-r--r--README.md6
-rw-r--r--subx_bare.md2
-rw-r--r--vimrc.vim2
3 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index ee7130d4..491e4028 100644
--- a/README.md
+++ b/README.md
@@ -88,7 +88,7 @@ binaries that run natively. The translators for most levels are built out of
 lower levels. The translator from Mu to SubX is written in SubX, and the
 translator from SubX to bare SubX is built in bare SubX. There is also an
 emulator for Mu's supported subset of x86, that's useful for [debugging SubX
-programs](subx_debugging.md).
+programs](linux/subx_debugging.md).
 
 Mu programs build natively either on Linux or on Windows using [WSL 2](https://docs.microsoft.com/en-us/windows/wsl/install-win10).
 For Macs and other Unix-like systems, use the (much slower) emulator:
@@ -164,7 +164,7 @@ More resources on SubX:
 
 * The [list of x86 opcodes](subx_opcodes) supported in SubX: `linux/bootstrap/bootstrap help opcodes`.
 
-* [Some tips for debugging SubX programs.](subx_debugging.md)
+* [Some tips for debugging SubX programs.](linux/subx_debugging.md)
 
 ## Forks
 
@@ -235,7 +235,7 @@ claims of completeness:
   including [a tiny sketch of an ELF loader](https://github.com/kragen/stoneknifeforth/blob/master/386.c).
 - [&ldquo;Creating tiny ELF executables&rdquo;](https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html) by Brian Raiter.
 - [Single-page cheatsheet for the x86 ISA](https://net.cs.uni-bonn.de/fileadmin/user_upload/plohmann/x86_opcode_structure_and_instruction_overview.pdf)
-  by Daniel Plohmann ([cached local copy](https://github.com/akkartik/mu/blob/master/cheatsheet.pdf))
+  by Daniel Plohmann ([cached local copy](https://github.com/akkartik/mu/blob/main/cheatsheet.pdf))
 - [Minimal Linux Live](http://minimal.linux-bg.org) for teaching how to create
   a bootable disk image using the syslinux bootloader.
 - [&ldquo;Writing a bootloader from scratch&rdquo;](https://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures/os-dev.pdf)
diff --git a/subx_bare.md b/subx_bare.md
index f8f00864..ab909e72 100644
--- a/subx_bare.md
+++ b/subx_bare.md
@@ -169,7 +169,7 @@ $ echo $?
 ## Resources
 
 - [Single-page cheatsheet for the x86 ISA](https://net.cs.uni-bonn.de/fileadmin/user_upload/plohmann/x86_opcode_structure_and_instruction_overview.pdf)
-  (pdf; [cached local copy](https://github.com/akkartik/mu/blob/master/cheatsheet.pdf))
+  (pdf; [cached local copy](https://github.com/akkartik/mu/blob/main/cheatsheet.pdf))
 - [Concise reference for the x86 ISA](https://c9x.me/x86)
 - [Concise reference for the x86 ISA #2](http://ref.x86asm.net/coder32.html)
 - [Intel processor manual](http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf) (pdf)
diff --git a/vimrc.vim b/vimrc.vim
index 96460568..53a60e0d 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -68,7 +68,7 @@ else
 endif
 
 " useful for inspecting just the control flow in a trace
-" see https://github.com/akkartik/mu/blob/master/Readme.md#a-few-hints-for-debugging
+" see https://github.com/akkartik/mu/blob/main/linux/subx_debugging.md
 command! -nargs=0 L exec "%!grep label |grep -v clear-stream:loop"
 
 " show the call stack for the current line in the trace (by temporarily blowing away all earlier lines)