EASy68K  
It is currently Tue Dec 11, 2018 10:49 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: clear screen
PostPosted: Wed Apr 20, 2011 11:15 am 
Offline

Joined: Fri Apr 15, 2011 8:12 pm
Posts: 6
Location: malaysia
i would like to clear screen for my program, how to do it? what does it means by set D1.W to $FF00? please help me, thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 20, 2011 12:24 pm 
Offline

Joined: Mon Jul 26, 2010 11:43 pm
Posts: 198
Location: Aurora, IL
Use the trap#15 functions

MOVE.W #$FF00,D1 ; set D1.W to $FF00


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 20, 2011 12:33 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1087
Code:
    move.b  #11,d0      clear screen
    move.w  #$ff00,d1
    trap    #15

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 20, 2011 1:27 pm 
Offline

Joined: Fri Apr 15, 2011 8:12 pm
Posts: 6
Location: malaysia
thx!!!!!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group