Atari.Org
Click Here
HomeNewsServicesForumsSupport

Talk Atari

Atari.Org Forums


16/32-Bit

8-Bits

Classics

Emulation

Jaguar

Lynx

Classic Consoles Forum 8-Bits Forum 16/32 Forum
Emulation Forum Jaguar Forum Lynx Forum
 
 Subject: RE: setscreen() function usage
Author: Adam Klobukowski (w3cache2.icm.edu.pl)
Date:   01-10-2003 09:25

Setscreen() is called like this

VOID Setscreen( Long log, long phys, short mode )

log - the logical screen when you draw
phys - the physical screen that is visible
mode - screen resolution

Remember that Atari ST and Mega ST required that its physical screen memory be on a 256 byte boundary.

Method (for Atari ST):

Alloc two 32kb buffers (for example p1, p2 point to them)

Call Setscreen:

loop:
Setscreen (p1, p2, -1)

Draw what you need

Swap(p1, p2)
loopend:

Should be ok.

 Topics Author  Date
  setscreen() function usage new Steve Ollett 01-09-2003 23:33 
   RE: setscreen() function usage new earx 01-10-2003 09:23 
   RE: setscreen() function usage  Adam Klobukowski 01-10-2003 09:25 
    RE: setscreen() function usage new earx 01-10-2003 09:44 
     RE: setscreen() function usage new Steve Ollett 01-10-2003 12:59 
      RE: setscreen() function usage new earx 01-10-2003 14:23 
    RE: setscreen() function usage new Mr. B.B.C. 01-10-2003 23:26 
     RE: setscreen() function usage new Steve Ollett 01-13-2003 21:56 

 Reply To This Message
 Your Name:
 Your Email:
 Subject:
 Human verification:   What's this?
               _    __     _ _     
 _ __  ___ _ _| |_ / _|___| (_)___ 
| '_ \/ _ \ '_|  _|  _/ _ \ | / _ \
| .__/\___/_|  \__|_| \___/_|_\___/
|_|                                
    



Copyright © 1997-2024 Atari.Org 
Atari is registered trademark of Infogrames