- uxnasm: treats
(foo)
as comment and fails. - drifblim: treats
(foo)
as nested comment,@[bar]
as invalid symbol.
➜ ~ cat blimtest.tal
|100
(foo)
[bar]
{baz}
BRK
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE keyboardmap> | |
<keyboardmap version="1.0"> | |
<mapping key="<" note="17"/> | |
<mapping key="A" note="18"/> | |
<mapping key=";" note="19"/> | |
<mapping key="O" note="20"/> | |
<mapping key="Q" note="21"/> | |
<mapping key="E" note="22"/> | |
<mapping key="J" note="23"/> |
ASTRA-256 Assembler > General Discussions > Topic Details | |
sovereign has ASTRA-256 Assembler 8 Feb, 2021 @ 12:09pm | |
Key table | |
Hi, folks. | |
ASTRA-256 is a cool piece of software. I'd like to see a reference table added to the manual that contains the individual keyboard key values for each color (off, green, red, yellow). | |
Below is a list I compiled (hex) |
// g++ -o vtermtest vtermtest.cpp -lvterm -lutil -lSDL2 -lSDL2_ttf -licuuc | |
#include <termios.h> | |
#include <pty.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/wait.h> | |
#include <iostream> | |
#include <vector> | |
#include <vterm.h> | |
#include <SDL2/SDL.h> |
# 0 "../tal/uxn11/src/uxn.c" | |
# 0 "<built-in>" | |
# 0 "<command-line>" | |
# 1 "/usr/include/stdc-predef.h" | |
1 3 4 | |
# 0 "<command-line>" | |
2 | |
# 1 "../tal/uxn11/src/uxn.c" | |
# 1 "../tal/uxn11/src/uxn.h" | |
1 |
STARTCHAR zero | |
ENCODING 48 | |
SWIDTH 500 0 | |
DWIDTH 8 0 | |
BBX 7 10 0 0 | |
BITMAP | |
38 | |
6C | |
C6 | |
C6 |
#!/usr/bin/env python3 | |
import fontforge | |
import os | |
import sys | |
import subprocess | |
def convert_to_bdf(directory): | |
print("Converting font files to BDF...") |
|00 @System | |
&vector $2 &expansion $2 &wst $1 &rst $1 &metadata $2 &r $2 &g $2 &b $2 | |
&debug $1 &state $1 | |
|10 @Console &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1 | |
|20 @Screen | |
&vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 | |
&pixel $1 &sprite $1 |
➜ ~ cat blimtest.tal | |
|100 | |
;foo print | |
;bar print | |
;baz print | |
BRK | |
@print ( str* -- ) | |
LDAk #18 DEO |
(foo)
as comment and fails.(foo)
as nested comment, @[bar]
as invalid symbol.➜ ~ cat blimtest.tal
|100
(foo)
[bar]
{baz}
BRK
%PC { LITr 00 JSRr #0003 SUB2 } | |
%DBG { #010e DEO } | |
%function { } | |
%break { BRK } | |
%constant { } | |
%vector { } | |
%unless { } | |
%else { } | |
%end { } |