TEXT MODE ON OG 100
-------------------

Hi folks,

During the weekend I have been playing about with my OG and
I have found inside something that resulted into following code:
(The code is located somewhere around F000:3AAD of OG memory)


og_text:
                mov     ah,019h                 ;019h
                mov     bl,1
                push    ax
                in      al,026h                 ; port 26h
                out     032h,al                 ; port 32h
                push    ax
                pushf                           ; Push flags
                cli                             ; Disable interrupts
                add     ah,080h
                mov     al,bl
                xchg    al,ah
                out     030h,al                 ; port 30h
                out     026h,al                 ; port 26h
                xchg    al,ah
                out     031h,al                 ; port 31h
                out     027h,al                 ; port 27h
                popf                            ; Pop flags
                pop     ax
                out     030h,al                 ; port 30h
                out     026h,al                 ; port 26h
                pop     ax

                mov     ax,7
                int     010h                    ; Video display   ah=functn 00h
                                                ;  set display mode in al

                mov     ax,04c00
                int     021h
  

The code can be complied into small .com file to run from autoexec.bat.
Put the "ogtext" at the last line of your autoexec.bat. Or use my
ogtext.gpk.

----------------------------------------------------------------------

Here is the file in UUE fromat:

[ogtext.com is in the .zip]

------------------------------------------------------------------

Here is the GPK in UUE format (sorry my UNIX account does not allow
to make MINE attachments)

[ogtext.gpk is in the .zip]

------------------------------------------------------------------------

And here is another GPK to remove the OGTEXT MODE and RESTORE
original files

[og_ori.gpk is in the .zip]

-------------------------------------------------------------------------

Enjoy it

Jan Sedlak
Praha, Czech Republic

