flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
windwakr 30 Oct 2004, 18:36
how do you change the title of the dos window thingy so it doesnt say the program name? (no this does not belong in windows....i think)
I saw some code but I cant get it to work through copy and paste (runs in fasm...originally for tasm code by Ed pizzi at http://pizzi.cjb.net/ ) Code: org 100h jmp overdata DispString db "MessWin.com - Messes around with DOS-box windows commands.",0dh,0ah db " Run this from windows in a Dos box, windowed.",0dh,0ah,"$" NameString db "Welcome to Messwin.com - press a key",0h ClipString db "I can fool with the clipboard from Dos" NameString2 db "Check the clipboard - hit a key",0h NameString3 db "Done. (press any key to exit)",0h overdata: mov ax,cs mov ds,ax mov es,ax mov dx,DispString mov ah,09 int 21h xor dx,dx mov ax,0168Eh mov di,NameString int 02Fh xor ax,ax int 16h mov ax,1701h int 2fh test ax,ax jz noclipboard push cs pop es mov bx,ClipString xor si,si mov cx,026h xor dx,dx inc dl mov ax,01703h int 02Fh mov ax,01708h int 02Fh mov ax,0168Eh mov di,NameString2 int 02Fh xor ax,ax int 16h noclipboard: mov ax,0168Eh mov di,NameString3 int 02Fh xor ax,ax int 16h mov ax,04C00h int 21h |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.