OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: aziz on March 24, 2024, 05:37:42 pm

Title: How does AVIO works?
Post by: aziz on March 24, 2024, 05:37:42 pm
I just read heard about advanced VIO, what I gathered so far, is that you supposedly can create an AVIO presentation space with VIOCreatePS (see https://ia801901.us.archive.org/13/items/OS21.xTechnicalDocumentation/64F0276_OS2_V1_2_PTI_Presentation_Manager_Programming_Reference_Vol_1.pdf page 467). If I understand this correctly it should be possible (in 16 bit apps at least) to incorporate an area in a PM application, that can be populated (updated) with VIO calls.

Anyone knows something about this? Maybe someone recalls an article or an example from back in the day?
Title: Re: How does AVIO works?
Post by: Dave Yeo on March 24, 2024, 06:26:14 pm
Was just reading an article of the new OS/2 v2, https://books.google.ca/books?id=cSMUxSP5pKgC&lpg=PP1&pg=PT433&redir_esc=y#v=onepage&q&f=false (https://books.google.ca/books?id=cSMUxSP5pKgC&lpg=PP1&pg=PT433&redir_esc=y#v=onepage&q&f=false) where Charles talks about the advanced VIO stuff not having 32 bit functions in the interest of future portability. He references stuff he has written to do what you are describing I think, in his book, https://ecsoft2.org/docs/os2-presentation-manager-programming-charles-petzold (https://ecsoft2.org/docs/os2-presentation-manager-programming-charles-petzold). Probably worth a look.
Edit: Archive.com doesn't allow downloading it, so another source would be needed.
Title: Re: How does AVIO works?
Post by: aziz on March 24, 2024, 08:00:41 pm
Too bad it is no longer available on archive.org. On https://www.charlespetzold.com/books.html you can find source of the book. In the '89 book chapter 7 seems to be concerned with AVIO. If only I could get a copy of chapter 7...
Title: Re: How does AVIO works?
Post by: Dave Yeo on March 24, 2024, 08:46:01 pm
You could try borrowing it from https://openlibrary.org/books/OL21931986M/Programming_the_OS_2_presentation_manager (https://openlibrary.org/books/OL21931986M/Programming_the_OS_2_presentation_manager). I didn't feel like registering.