-
Posts
9,148 -
Joined
-
Last visited
Cafeman's Achievements
Quadrunner (9/9)
3.9k
Reputation
Single Status Update
-
Is there an existing program for A8 development that takes text (as in dialogue/sentences) and converts into the hex codes (Atascii charset codes I assume?) to store in your ASM program in tables?
For example I enter "the quick brown fox jumped over the lazy dog." and it spits out something like this:
.byte $34,$68,$65,$00, .... ?
-
-
Ok never mind the question, even TASM has a Text support, I just never used it.
The BYTE directive allows a value assignment to the byte pointed to by the current Instruction Pointer. The format is:
[label] .BYTE expr [, expr ...]
Only the lower eight bits of expr are used. Multiple bytes may be assigned by separating them with commas or (for
printable strings) enclosed in double quotes. Here are some examples:
label1
.byte "Hello", 10, 13, "World"
-

