flat assembler
Message board for the users of flat assembler.
Index
> Main > BIOS TeleType putc/puts trick... |
Author |
|
LocoDelAssembly 26 Jun 2010, 02:12
hehe, good one.
|
|||
26 Jun 2010, 02:12 |
|
Tyler 26 Jun 2010, 04:42
Size matters...
|
|||
26 Jun 2010, 04:42 |
|
ManOfSteel 26 Jun 2010, 08:14
Push/ret! Nice trick.
|
|||
26 Jun 2010, 08:14 |
|
Picnic 26 Jun 2010, 13:55
Nice trick bitshifter.
Goes down to 10 bytes if undocumented INT 29H is used |
|||
26 Jun 2010, 13:55 |
|
Teehee 26 Jun 2010, 14:08
'undocumented INT 29H', whats that?
|
|||
26 Jun 2010, 14:08 |
|
Picnic 26 Jun 2010, 14:30
INTERRUPT 29h will write the char in AL to the screen faster than service 02h or 09h of int 21h though is identical (not counting redirection) to service 02h of int 21h (but much faster).
http://www.fysnet.net/undoc.htm Code: puts: ; DS:SI -> string to print lodsb ; ASSUME: DF = 0 test al,al jz putc.ret push puts putc: ; AL = character to print int 29h .ret: ret |
|||
26 Jun 2010, 14:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.