ref: 7d0dd140c3f81fa903f8becfb8981bbe8943a076
parent: 171061f3a3b6d298e34aafe2843645ce3a1aa43a
author: Anthony Bentley <[email protected]>
date: Sat Sep 12 13:49:54 EDT 2009
create stylesheet and link to it Created a simple stylesheet, linked to it, and removed body color attributes defined there. This reduces repetition and separates style and presentation.
--- a/doc/asm.htm
+++ b/doc/asm.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm</TITLE>
+ <link rel="stylesheet" type="text/css" href="./style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<HR>
<CENTER>
<TABLE BORDER=0 BGCOLOR="#000000" CELLPADDING=25>
--- a/doc/asm/db.htm
+++ b/doc/asm/db.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm DB, DW</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>DB<BR>
DW
</H2></I>
--- a/doc/asm/ds.htm
+++ b/doc/asm/ds.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm DS</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>DS
</H2></I>
<HR>
--- a/doc/asm/equ.htm
+++ b/doc/asm/equ.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm EQU</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>EQU</H2></I><HR>
<P>EQUates are constant symbols. They can for example be used for things such as bit-definitions of hardware-registers.<BR>
--- a/doc/asm/equs.htm
+++ b/doc/asm/equs.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm EQUS</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>EQUS</H2></I><HR>
<P>EQUS is used to define string-symbols. Wherever the assembler meets a string symbol its name is replaced with its value. If you are familiar with C you can think of it as the same as #define.<BR>
--- a/doc/asm/export.htm
+++ b/doc/asm/export.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm EXPORT/XREF, IMPORT/XDEF, GLOBAL</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>EXPORT/XREF<BR>
IMPORT/XDEF<BR>
GLOBAL</H2></I><HR>
--- a/doc/asm/expr_fix.htm
+++ b/doc/asm/expr_fix.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Fixed-point expression</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>Fixed-point expressions
</H2></I>
<HR>
--- a/doc/asm/expr_int.htm
+++ b/doc/asm/expr_int.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Integer/Boolean expressions</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>Integer and Boolean expressions
</H2></I>
<HR>
--- a/doc/asm/expr_str.htm
+++ b/doc/asm/expr_str.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm String expressions</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>String expressions
</H2></I>
<HR>
--- a/doc/asm/fail.htm
+++ b/doc/asm/fail.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm FAIL, WARN</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>FAIL<BR>
WARN
</H2></I>
--- a/doc/asm/history.htm
+++ b/doc/asm/history.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm History</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>xAsm History</H2></I><HR>
<TABLE BORDER=1>
--- a/doc/asm/if.htm
+++ b/doc/asm/if.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm IF, ELSE, ENDC</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>IF<BR>
ELSE<BR>
ENDC
--- a/doc/asm/incbin.htm
+++ b/doc/asm/incbin.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm INCBIN</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>INCBIN
</H2></I>
<HR>
--- a/doc/asm/include.htm
+++ b/doc/asm/include.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm INCLUDE</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>INCLUDE
</H2></I>
<HR>
--- a/doc/asm/labels.htm
+++ b/doc/asm/labels.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Labels</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>Labels</H2></I><HR>
<P>One of the assemblers main tasks is to keep track of addresses for you so you don't have to remember obscure numbers but can make do with a meaningful name, a label.<BR>
<P>This can be done in a number of ways:<BR>
--- a/doc/asm/macro.htm
+++ b/doc/asm/macro.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm MACRO/ENDM</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>MACRO<BR>
ENDM</H2></I><HR>
--- a/doc/asm/miscfunc.htm
+++ b/doc/asm/miscfunc.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Other functions</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>Other functions
</H2></I>
<HR>
--- a/doc/asm/opt.htm
+++ b/doc/asm/opt.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm OPT</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>OPT
</H2></I>
<HR>
--- a/doc/asm/popo.htm
+++ b/doc/asm/popo.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm POPO, PUSHO</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>POPO<BR>
PUSHO
</H2></I>
--- a/doc/asm/pops.htm
+++ b/doc/asm/pops.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm POPS, PUSHS</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>POPS<BR>
PUSHS
</H2></I>
--- a/doc/asm/presym.htm
+++ b/doc/asm/presym.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Predeclared symbols</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>Predeclared symbols
</H2></I>
<HR>
--- a/doc/asm/print.htm
+++ b/doc/asm/print.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm PRINTT, PRINTV, PRINTF</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>PRINTT<BR>
PRINTV<BR>
PRINTF<BR>
--- a/doc/asm/purge.htm
+++ b/doc/asm/purge.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm PURGE</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>PURGE</H2></I><HR>
<P>The PURGE command allows you to completely remove a symbol from the symbol table as if it had never existed. USE WITH EXTREME CAUTION!!! I can't stress this enough but you <B>seriously</B> need to know what you are doing. DON'T purge symbol that you use in expressions the linker needs to calculate. In fact, it's probably not even safe to purge anything other than string symbols and macros.<BR>
--- a/doc/asm/rept.htm
+++ b/doc/asm/rept.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm REPT, ENDR</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>REPT<BR>
ENDR
</H2></I>
--- a/doc/asm/rs.htm
+++ b/doc/asm/rs.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm RSSET, RSRESET, RB, RW</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>RSSET<BR>
RERESET<BR>
RB<BR>
--- a/doc/asm/section.htm
+++ b/doc/asm/section.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm SECTION</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>SECTION</H2></I>
<HR>
--- a/doc/asm/set.htm
+++ b/doc/asm/set.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm SET</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>SET</H2></I><HR>
<P>SETs are like <A HREF="equ.htm">EQUates</A> also constant symbols in the sense that their values are defined during the assembly process. These symbols are normally used in macros.<BR>
--- a/doc/asm/shift.htm
+++ b/doc/asm/shift.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm SHIFT</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>SHIFT</H2></I><HR>
<P><B>SHIFT</B> is a special command only available in <A HREF="macro.htm">macros</A>. Very useful in <A HREF="rept.htm">REPT-blocks</A>. It will "shift" the arguments by one "to the left". <B>\1</B> will get <B>\2</B>'s value, <B>\2</B> will get <B>\3</B>'s value and so forth.<BR>
--- a/doc/asm/symbols.htm
+++ b/doc/asm/symbols.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Symbols</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>xAsm Symbols</H2></I><HR>
xAsm supports several types of symbols:<BR>
--- a/doc/asm/syntax.htm
+++ b/doc/asm/syntax.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Syntax</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>xAsm Syntax</H2></I><HR>
The syntax line-based, just as in any other assembler. Meaning that you do one instruction or pseudo-op per line:<BR>
--- a/doc/asm/trg_gb.htm
+++ b/doc/asm/trg_gb.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Gameboy</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>Gameboy
</H2></I>
<HR>
--- a/doc/asm/usage.htm
+++ b/doc/asm/usage.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xAsm Usage</TITLE>
+ <link rel="stylesheet" type="text/css" href="../style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<I><H2>xAsm Usage</H2></I><HR>
<TABLE BORDER=0 BGCOLOR="Black" CELLPADDING=8 WIDTH="50%">
--- a/doc/fix.htm
+++ b/doc/fix.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>RGBFix</TITLE>
+ <link rel="stylesheet" type="text/css" href="./style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<HR><CENTER>
<TABLE CELLPADDING=25 BORDER=0 BGCOLOR="#000000">
<TR>
--- a/doc/geninfo.htm
+++ b/doc/geninfo.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>General Information</TITLE>
+ <link rel="stylesheet" type="text/css" href="./style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<HR><CENTER>
<TABLE BORDER=0 BGCOLOR="#000000" CELLPADDING=25>
<TR>
--- a/doc/index.htm
+++ b/doc/index.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>ASMotor Documentation</TITLE>
+ <link rel="stylesheet" type="text/css" href="./style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<HR ALIGN="CENTER" SIZE="3">
<CENTER><TABLE BORDER=0 ALIGN="MIDDLE" BGCOLOR="#000000" CELLPADDING=25>
<TR>
--- a/doc/lib.htm
+++ b/doc/lib.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xLib</TITLE>
+ <link rel="stylesheet" type="text/css" href="./style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<HR SIZE="3">
<CENTER>
<TABLE CELLPADDING=25 BORDER=0 BGCOLOR="#000000">
--- a/doc/link.htm
+++ b/doc/link.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>xLink</TITLE>
+ <link rel="stylesheet" type="text/css" href="./style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<HR SIZE="3">
<CENTER>
<TABLE CELLPADDING=25 BORDER=0 BGCOLOR="#000000">
--- a/doc/rgb0.htm
+++ b/doc/rgb0.htm
@@ -3,9 +3,10 @@
<HTML>
<HEAD>
<TITLE>RGB? Fileformat</TITLE>
+ <link rel="stylesheet" type="text/css" href="./style.css">
</HEAD>
-<BODY BGCOLOR="#692764" TEXT="#F5A0D8" LINK="#8AAEE6" VLINK="#2B9DA4" ALINK="#95F0DA">
+<BODY>
<HR><CENTER>
<TABLE CELLPADDING=25 BORDER=0 BGCOLOR="#000000">
<TR>
--- /dev/null
+++ b/doc/style.css
@@ -1,0 +1,16 @@
+html {
+ background: #692764;
+ color: #F5A0D8;
+}
+
+a:link {
+ color: #8AAEE6;
+}
+
+a:visited {
+ color: #2B9DA4;
+}
+
+a:active {
+ color: #95F0DA;
+}