Search found 758 matches

by Ast A. Moore
Mon Dec 10, 2018 10:22 pm
Forum: Announcements
Topic: Introduce yourself!
Replies: 229
Views: 21679

Re: Introduce yourself!

oblo wrote:
Mon Dec 10, 2018 9:35 pm
Greetings from Spain!
Hey, @oblo! Fancy seeing you here. Welcome!
by Ast A. Moore
Mon Dec 10, 2018 9:47 am
Forum: Games/Software
Topic: The best classic Speccy game beginning with U: discussion
Replies: 5
Views: 99

Re: The best classic Speccy game beginning with U: discussion

Ulises
Ultima Ratio
Ultimate Combat Mission
Unitrax
The Untouchables
U.N. Squadron
Uchi Mata
by Ast A. Moore
Mon Dec 10, 2018 7:52 am
Forum: Games/Software
Topic: The best classic Speccy game beginning with U: discussion
Replies: 5
Views: 99

Re: The best classic Speccy game beginning with U: discussion

Beginning with me? Why? What did I do? :o
by Ast A. Moore
Sat Dec 08, 2018 10:48 am
Forum: Brand new software!
Topic: Quadron, a uMIA from 1988... that you can buy now!!
Replies: 17
Views: 616

Re: Quadron, a uMIA from 1988... that you can buy now!!

Yeah, and if you need a mean, robust, and ultra fast (3x!) tape loader for your game—let me know!
by Ast A. Moore
Sat Dec 08, 2018 12:21 am
Forum: Announcements
Topic: Introduce yourself!
Replies: 229
Views: 21679

Re: Introduce yourself!

Turtle_Quality wrote:
Fri Dec 07, 2018 11:03 pm
They had about 130 bytes spare when my code was about 200, and I spent a couple of weeks reducing the code when I should have been doing homework . . .
My kind of guy!

Welcome to the forums, Thomas!

Image
by Ast A. Moore
Sat Dec 08, 2018 12:08 am
Forum: Programming
Topic: 8bit to ASCII
Replies: 13
Views: 207

Re: 8bit to ASCII

Okay, grandma can hang on to her pearls for another day. I figured it out: ld hl,$3a2f l1 inc l sub 100 jr nc,l1 l2 dec h add a,10 jp m,l2 adc a,$30 ld (string),hl ld (string+2),a ret string defm "---" Faster, smaller. EDIT: Ha! Einar beat me to it. His is even one byte smaller (but mine is marginal...
by Ast A. Moore
Fri Dec 07, 2018 11:47 pm
Forum: Programming
Topic: 8bit to ASCII
Replies: 13
Views: 207

Re: 8bit to ASCII

That look-up table made me feel like I'd stolen from an elderly relative. Hold the press. You just may be better off stealing from a relative. I was trying to speed up that code—and I succeeded: that last ADC A,$2F can be replaced with ADD A,$30 (the 6502 can only add and subtract with the carry)—w...
by Ast A. Moore
Fri Dec 07, 2018 9:49 pm
Forum: Programming
Topic: 8bit to ASCII
Replies: 13
Views: 207

Re: 8bit to ASCII

R-Tape wrote:
Fri Dec 07, 2018 8:55 pm
I got bored of code-wrestling and used a 489 look-up table, then felt ashamed!
All’s fair In love and programming. ;)

If there’s any advantage in the example I posted, it’s that it saves you one register, since it only uses three altogether. May come in handy.
by Ast A. Moore
Fri Dec 07, 2018 6:55 pm
Forum: Programming
Topic: 8bit to ASCII
Replies: 13
Views: 207

Re: 8bit to ASCII

Perhaps the algorithm here could inspire you: http://codebase64.org/doku.php?id=base:tiny_.a_to_ascii_routine (it's 6502 - boo!) Yeah, so in Z80 speak that would be: ld hl,$3a2f scf l1 inc l sbc 100 jr nc,l1 l2 dec h adc a,10 jp m,l2 adc a,$2f ld (string),hl ld (string+2),a ret string defm "---" Do...
by Ast A. Moore
Thu Dec 06, 2018 8:07 pm
Forum: Brand new software!
Topic: Quadron, a uMIA from 1988... that you can buy now!!
Replies: 17
Views: 616

Re: Quadron, a uMIA from 1988... that you can buy now!!

Andy Green wrote:
Thu Dec 06, 2018 6:48 pm
* EDIT * Not sure if anyone can see the image below? Not showing for me....

* EDIT 2 * Try this . . .
Both work for me.