PC Review


Reply
Thread Tools Rate Thread

Assembly Graphic programming Problem

 
 
John
Guest
Posts: n/a
 
      30th Jan 2004
hi.....

Could someone help me out with the assembly code below cause when I execute
the code under vitural DOS command prompt (command .exe) in Windows 2000 Pro
the screen gone blank and display nothing..................

Assembly Code:

title draw2 test

sseg segment para stack 'stack'

db 256 dup(?)

sseg ends

dseg segment

dseg ends

cseg segment

main proc far

assume ss:sseg, ds:dseg, cs:cseg

mov ax, dseg

mov ds, ax

mov ax, 0600h

mov bh, 07h

mov cx, 0000

mov dx, 184fh

int 10h

mov ah, 00h

mov al, 06h

int 10h

mov cx, 100

mov dx, 50

again: mov ah, 0ch

mov al, 01h

int 10h

inc cx

cmp cx, 200

jne again

mov ah, 4ch

int 21h

main endp

cseg ends

end main

Thanks


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem calling assembly which references another assembly from an asp page christianhaynes@hotmail.com Microsoft ASP .NET 3 3rd Mar 2006 04:52 PM
AMD64 Assembly Programming =?ISO-8859-15?Q?Jo=E3o?= Manuel Moura Paredes AMD 64 Bit 2 12th Aug 2004 07:12 PM
Graphic programming Raymond Microsoft Access Reports 5 18th Feb 2004 12:00 AM
Assembly Programming Dharma Microsoft C# .NET 2 27th Nov 2003 05:24 PM
Question about S-VIDEO and connecting my TV to my computer (via graphic 9600 Pro graphic card).... Melandre ATI Video Cards 7 4th Nov 2003 04:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:12 PM.