flat assembler
Message board for the users of flat assembler.

Index > DOS > help me

Author
Thread Post new topic Reply to topic
master_28



Joined: 26 Sep 2008
Posts: 1
master_28
do you have a assembly program that have an procedure, screen handling, keyboard handling.. pls. help me.. this is one of my project dedline is oct. 1.. pls email me @ molecules_142004@yahoo.com thank you and god bless us!!![/code]
Post 26 Sep 2008, 03:04
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17716
Location: In your JS exploiting you and your system
revolution
Hehe, ROTFLOL!
Post 26 Sep 2008, 03:19
View user's profile Send private message Visit poster's website Reply with quote
nop



Joined: 01 Sep 2008
Posts: 165
Location: right here left there
nop
how about
Code:
        org 0100h
        mov ax,3
        int 10h
        mov dx,0c25h
        mov si,msg
proc:   call screen
        xor ax,ax
keybd:  int 16h
        inc si
        inc dl
        jmp proc
screen: mov ah,2
        int 10h
        mov ah,0eh
        mov al,[si]
        or al,al
        jz done
        int 10h
        ret
done:   jmp 0ffffh:0
msg: db 46h, 55h, 43h, 4bh, 20h, 0    

its got everything Laughing
Post 26 Sep 2008, 04:36
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17716
Location: In your JS exploiting you and your system
revolution
Hey, nop (or is it CPUID?), I think that is the first code you have posted here! I thought you were just here for the "sociable" aspects of this forum.
Post 26 Sep 2008, 06:12
View user's profile Send private message Visit poster's website Reply with quote
nop



Joined: 01 Sep 2008
Posts: 165
Location: right here left there
nop
well, rev, if u look closely youll see thats a very sociable piece of code Wink

btw, dont believe that liar cpuid, cpuid is NOT me Exclamation
Post 26 Sep 2008, 06:53
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17716
Location: In your JS exploiting you and your system
revolution
I can read hex-ascii at 34 WPM[1], I know what the message is. Indeed, very sociable of you. Although I am sceptical about the nop/CPUID thing. How about you log in as CPUID again and post a message to say you are not nop, that will prove it.

[1]I used to be able to read Z80 hex dumps and follow the program flow[2], but now I have lost that very "useful" ability Sad

[2]The very first virtual machine ever invented was in my head as a Z80 emulator running directly from printed hex codes. Ah, those were the days.
Post 26 Sep 2008, 07:09
View user's profile Send private message Visit poster's website Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 713
Location: Adelaide
sinsi
revolution wrote:
[1]I used to be able to read Z80 hex dumps and follow the program flow

Man, wasn't that sooooo easy...that's how I learned asm
Post 26 Sep 2008, 07:17
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.