doc(buzbee): added docs folder

This commit is contained in:
2025-10-06 20:53:59 -05:00
parent 3441aea9c1
commit aed8ca28f9
3 changed files with 94 additions and 0 deletions

BIN
docs/buzbee.pdf Normal file

Binary file not shown.

36
docs/buzbee.typ Normal file
View File

@@ -0,0 +1,36 @@
#set document(
title: "BUZBEE Manual",
author: "Gale Faraday",
description: "CHIBI PC-09 machine language monitor BUZBEE technical and user manual",
)
#import "style.typ": conf
#show: conf.with(
title: [BUZBEE User Manual and Technical Reference],
subtitle: [A CHIBI PC-09 Machine Language Monitor],
author: [Gale Faraday],
)
= Introduction
#lorem(120)
#pagebreak()
= BUZBEE Functions
#lorem(120)
#pagebreak()
== Internal Functions (IFs)
#lorem(120)
#pagebreak()
== External Functions (EFs) & User Programs
#lorem(120)
#pagebreak()
= BUZBEE Reserved Memory Regions
#lorem(120)
#pagebreak()
= Building BUZBEE
#lorem(120)

58
docs/style.typ Normal file
View File

@@ -0,0 +1,58 @@
// Style conf function for CHIBI PC-09 projects
#let conf(
title: none,
subtitle: none,
author: none,
doc,
) = {
// Global page format
set page(
paper: "us-letter",
header: align(right, text(9pt, weight: "light")[#title]),
numbering: "1",
)
// Font settings
set text(
font: "New Computer Modern",
size: 12pt,
)
// Default paragraph settings
set par(
justify: true,
first-line-indent: 1cm,
)
// Heading numbering
set heading(numbering: "1.1")
// Title page and TOC
page(header: none, footer: none)[
// Emit title and subtitle page
#block(height: 60%)[
#align(center + horizon,
block(text(22pt)[#title]) +
block(above: 2em)[#smallcaps[#subtitle]]
)
]
// Emit TOC
#pagebreak()
#outline()
#pagebreak()
]
// Heading formatting for doc, must come after title page and TOC
show heading: it => [
CHAPTER
#counter(heading).display()
#it.body
]
// Emit doc
counter(page).update(1) // Reset counter for first real page
set align(left)
doc
}