Jump to content

1

Quick question about Coleco C library


5 replies to this topic

#1 Pixelboy ONLINE  

Pixelboy

    River Patroller

  • 4,665 posts
  • Location:Montreal, Canada

Posted Fri Apr 27, 2012 8:28 PM

I could test this myself, but I'm thinking I can get clearer information by simply asking here.  :)

I would like to know what happens exactly when screen_off() is used. Does the screen turn black until screen_on() is called? Or is the current graphic display just frozen on the TV screen?

#2 hardhat OFFLINE  

hardhat

    Chopper Commander

  • 148 posts
  • ColecoVision programmer/advocate
  • Location:Toronto, Canada

Posted Fri Apr 27, 2012 9:51 PM

The screen_off() stops displaying everything except for the background colour.  So that way when you are massively updating the graphics tables you don't see flashes of garbage displayed while the screen is updated.

#3 Pixelboy ONLINE  

Pixelboy

    River Patroller

  • 4,665 posts
  • Location:Montreal, Canada

Posted Sat Apr 28, 2012 6:16 AM

View Posthardhat, on Fri Apr 27, 2012 9:51 PM, said:

The screen_off() stops displaying everything except for the background colour.  So that way when you are massively updating the graphics tables you don't see flashes of garbage displayed while the screen is updated.

Yeah, I know. But what I wanted to know is what I would see on the screen if I made intensive graphical rendering that would require a couple of NMI cycles before calling screen_on() to display the results.

You've pretty much answered my question, so thanks.  :)

#4 hardhat OFFLINE  

hardhat

    Chopper Commander

  • 148 posts
  • ColecoVision programmer/advocate
  • Location:Toronto, Canada

Posted Sun Apr 29, 2012 11:24 PM

Just the background colour and nothing else.

#5 Pixelboy ONLINE  

Pixelboy

    River Patroller

  • 4,665 posts
  • Location:Montreal, Canada

Posted Mon Apr 30, 2012 4:39 AM

By the way, does the VDP stop sending a NMI to the CPU every 60th of a second while it is disabled this way?

#6 hardhat OFFLINE  

hardhat

    Chopper Commander

  • 148 posts
  • ColecoVision programmer/advocate
  • Location:Toronto, Canada

Posted Wed May 2, 2012 10:16 PM

They are independent flags so I would expect the NMIs to continue as usual, but I haven't specifically done that in a while.




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users