• Welcome to Schneider / Amstrad CPC Forum.
Welcome to Schneider / Amstrad CPC Forum. Please login.

31. July 2026, 04:34:20

Login with username, password and session length

Shoutbox

TFM

2026-06-04, 18:26:16
Zwei Jahre später... und wieder ein Sommerloch!

TFM

2024-04-08, 20:42:44
Happy Sonnenfinsternis!  :)

TFM

2024-01-15, 17:06:57
Momentan billige Farbbänder auf Ebay für PCW

Devil-System

2023-07-09, 10:37:40
Zweiter 👋😂🤣

Recent

Members
  • Total Members: 228
  • Latest: Mr.Uno
Stats
  • Total Posts: 12,973
  • Total Topics: 1,547
  • Online today: 8,358
  • Online ever: 12,177
  • (30. July 2026, 22:15:07)
Users Online
Users: 0
Guests: 400
Total: 400

400 Guests, 0 Users

Printer mit ASM funktioniert nicht.

Started by cpcman, 19. November 2018, 21:45:12

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

cpcman

Hallo, guten Tag.

Warum funktioniert dieses nicht am Printer von javaCPC ?

danke.
Gruss

hl ist die Adresse vom String.


__lprints_0:
  ld   a,(hl)
  or   a
  ret  z
  call #BD2B
  inc  hl
  jr   __lprints_0


Devil-System

Funktioniert einwandfrei:
;; Printertest

printer_output equ     &bd2b
org &8000

ld hl,textbuf
txtloop
ld a,(hl)
or a
ret z
call printer_output
inc hl
jr txtloop

textbuf
db "Hello world, this is a printer test",&a,&d,0


Du darfst natürlich nicht vergessen, am Ende noch ein Return zu senden...
https://cpcwiki.de
Dein Deutsches CPCWiki!

cpcman