Re: Article about HLA on Linux Journal's website
- From: "wolfgang kern" <nowhere@xxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 05:17:58 +0200
Herbert Kleebauer replied about dunric@xxxxxxxxx's "code"
| > It's about HLA and assembly language.
| Are you sure? I just looked at the code and I think
| this is batch programming and not assembly programming.
| Ok, I had to insert a few "::" and "call", but then
| cmd.exe executes it without any problem:
[the "ASM" to .BAT conversion ...]
Well done Herbert !
18 calls, 75 lines and ~3900 bytes for just a few colored
text-lines, now when this isn't ASM :)
In KESYS this would use only one CALL with a rich text-like
parameter list (text with font-, colour- and format-tokens,
text-/array-variables, input fields, calculator functions and
whatsoever may be on screen).
Yes, it almost works like a BASIC interpreter :)
__
wolfgang
Just to count the bytes I would need to show it
(this are about 820 bytes including comments):
00 83 04 50 ;colours(vm03)
00 84 xx yy ;position
A green dragon approaches, spreading her wings high 0d
across the landscape, plunging it into darkness! The 0d
dragon looks at you and says:
00 83 0e 01 ;colours.
00 84 xx yy ;position
'I am the last of my kind.0d
Here you are, a human, come here to slay me?! I breathe 0d
fire upon trees, rustling the bad kami out of the forests 0d
and valleys of this forgotten world. I keep my peace inside 0d
these caves, only to be disturbed by your species which 0d
pollute this landscape! I was once happy in my silence 0d
here, yet you come to make me miserable! I won't allow 0d
it, knave! Prepare to feel my wrath!!!' 0d
00 83 13 01 ;colours
The dragon moves about angrily, stomping the floor! 0d
00 83 0f 01 ;colours
What now, adventurer? 0d
00 ff ;end
.
- References:
- Article about HLA on Linux Journal's website
- From: dunric
- Re: Article about HLA on Linux Journal's website
- From: Betov
- Re: Article about HLA on Linux Journal's website
- From: dunric
- Re: Article about HLA on Linux Journal's website
- From: Herbert Kleebauer
- Article about HLA on Linux Journal's website
- Prev by Date: Re: A challenge for RosAsm
- Next by Date: Re: A challenge for RosAsm
- Previous by thread: Re: Article about HLA on Linux Journal's website
- Next by thread: Re: Article about HLA on Linux Journal's website
- Index(es):
Relevant Pages
|