Jump to content

Cafeman

+AtariAge Subscriber
  • Posts

    9,148
  • Joined

  • Last visited

2 Followers

About Cafeman

Profile Information

  • Gender
    Male

Recent Profile Visitors

34,303 profile views

Cafeman's Achievements

Quadrunner

Quadrunner (9/9)

3.9k

Reputation

Single Status Update

See all updates by Cafeman

  1. 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, ....  ?

    1. carlsson

      carlsson

      Doesn't your cross assembler accept text strings as it is? From what I understand, the text portion of ATASCII is the same as plain ASCII.

    2. Cafeman

      Cafeman

      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"

×
×
  • Create New...