v_opnbm and line drawing?

GFA, ASM, STOS, ...

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

Post Reply
tschak909
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 138
Joined: Mon Mar 26, 2018 9:29 pm

v_opnbm and line drawing?

Post by tschak909 »

I can see that v_opnbm is useful in creating off-screen bitmaps. I need this to essentially create the terminal display, which I am blitting to my target window with vrt_cpyfm(), and my text output is blitting to the bitmap, but how can I get various VDI functions to render directly to these off-screen bitmaps instead of to the screen?

-Thom
tschak909
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 138
Joined: Mon Mar 26, 2018 9:29 pm

Re: v_opnbm and line drawing?

Post by tschak909 »

(p.s. sorry for double posting, but the forum spit out an error 500 when I submitted the post)

-Thom
User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 902
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: v_opnbm and line drawing?

Post by jfl »

You do it exactly the same: all output goes to the VDI handle you got with v_opnbm(). By the way, you are aware this will require NVDI?
Post Reply

Return to “Coding”