Help: Display Init Strings for Native Oberon
Does anybody remember how to create display Init Strings for Native Oberon? Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand. Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings. regards -- Bernhard
I tried to read this: http://www.ethoberon.ethz.ch/install.html#J4 It explains how to store the new environment in activity 5, but I am still at loss as to what the string should look like. j. On Fri, Jun 16, 2017 at 3:42 PM, Treutwein Bernhard < Bernhard.Treutwein@verwaltung.uni-muenchen.de> wrote:
Does anybody remember how to create display Init Strings for Native Oberon?
Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand.
Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings.
regards -- Bernhard
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Its your lucky day. http://www.ethoberon.ethz.ch/native/WebConfig.html The page went awol but I did find it back. Viel Spaß! j. On Fri, Jun 16, 2017 at 5:48 PM, Jan de Kruyf <jan.de.kruyf@gmail.com> wrote:
I tried to read this: http://www.ethoberon.ethz.ch/install.html#J4
It explains how to store the new environment in activity 5, but I am still at loss as to what the string should look like.
j.
On Fri, Jun 16, 2017 at 3:42 PM, Treutwein Bernhard <Bernhard.Treutwein@ verwaltung.uni-muenchen.de> wrote:
Does anybody remember how to create display Init Strings for Native Oberon?
Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand.
Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings.
regards -- Bernhard
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Bernhard Here some explanations of some demo init string values Init=„bb0501b8024fcd10“ bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H Init=„b81200cd10bb003fb80110cd10“ b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H Jörg -----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch)' <oberon@lists.inf.ethz.ch> Subject: [Oberon] Help: Display Init Strings for Native Oberon Does anybody remember how to create display Init Strings for Native Oberon? Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand. Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings. regards -- Bernhard -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Bernhard Try this web-based assembler to produce the Init string http://pasm.pis.to <http://pasm.pis.to/> E.g. you can paste the following text into the assembler window and find on the right hand side the hex byes for the "Init=" [bits 16] ; has to be in 16-bit mode mov bx, 0x105 ; VESA mode 1024 x 768 x 8 mov ax, 0x4F02 ; function 4F (VESA BIOS Extension), subfunction 02 int 0x10 ; call BIOS video services Jörg
Am 16.06.2017 um 23:14 schrieb Jörg <joerg.straube@iaeth.ch>:
Bernhard
Here some explanations of some demo init string values
Init=„bb0501b8024fcd10“ bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H
Init=„b81200cd10bb003fb80110cd10“ b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H
Jörg
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch)' <oberon@lists.inf.ethz.ch> Subject: [Oberon] Help: Display Init Strings for Native Oberon
Does anybody remember how to create display Init Strings for Native Oberon?
Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand.
Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings.
regards -- Bernhard
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Jörg, thanks a lot. That seems to be a viable way to generate Init strings. Bernhard ________________________________ Von: Jörg [joerg.straube@iaeth.ch] Gesendet: Samstag, 17. Juni 2017 07:23 An: ETH Oberon and related systems Betreff: Re: [Oberon] Help: Display Init Strings for Native Oberon Bernhard Try this web-based assembler to produce the Init string http://pasm.pis.to E.g. you can paste the following text into the assembler window and find on the right hand side the hex byes for the "Init=" [bits 16] ; has to be in 16-bit mode mov bx, 0x105 ; VESA mode 1024 x 768 x 8 mov ax, 0x4F02 ; function 4F (VESA BIOS Extension), subfunction 02 int 0x10 ; call BIOS video services Jörg Am 16.06.2017 um 23:14 schrieb Jörg <joerg.straube@iaeth.ch<mailto:joerg.straube@iaeth.ch>>: Bernhard Here some explanations of some demo init string values Init=„bb0501b8024fcd10“ bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H Init=„b81200cd10bb003fb80110cd10“ b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H Jörg -----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch<mailto:oberon@lists.inf.ethz.ch>)' <oberon@lists.inf.ethz.ch<mailto:oberon@lists.inf.ethz.ch>> Subject: [Oberon] Help: Display Init Strings for Native Oberon Does anybody remember how to create display Init Strings for Native Oberon? Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand. Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings. regards -- Bernhard -- Oberon@lists.inf.ethz.ch<mailto:Oberon@lists.inf.ethz.ch> mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Additional useful information are the two VESA standards: http://www.phatcode.net/res/221/files/vbe20.pdf https://pdos.csail.mit.edu/6.828/2011/readings/hardware/vbe3.pdf From: Treutwein Bernhard [mailto:Bernhard.Treutwein@Verwaltung.Uni-Muenchen.DE] Sent: Saturday, July 01, 2017 7:04 PM To: Jörg; ETH Oberon and related systems Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon Jörg, thanks a lot. That seems to be a viable way to generate Init strings. Bernhard ________________________________ Von: Jörg [joerg.straube@iaeth.ch] Gesendet: Samstag, 17. Juni 2017 07:23 An: ETH Oberon and related systems Betreff: Re: [Oberon] Help: Display Init Strings for Native Oberon Bernhard Try this web-based assembler to produce the Init string http://pasm.pis.to E.g. you can paste the following text into the assembler window and find on the right hand side the hex byes for the "Init=" [bits 16] ; has to be in 16-bit mode mov bx, 0x105 ; VESA mode 1024 x 768 x 8 mov ax, 0x4F02 ; function 4F (VESA BIOS Extension), subfunction 02 int 0x10 ; call BIOS video services Jörg Am 16.06.2017 um 23:14 schrieb Jörg <joerg.straube@iaeth.ch<mailto:joerg.straube@iaeth.ch>>: Bernhard Here some explanations of some demo init string values Init="bb0501b8024fcd10" bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H Init="b81200cd10bb003fb80110cd10" b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H Jörg -----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch<mailto:oberon@lists.inf.ethz.ch>)' <oberon@lists.inf.ethz.ch<mailto:oberon@lists.inf.ethz.ch>> Subject: [Oberon] Help: Display Init Strings for Native Oberon Does anybody remember how to create display Init Strings for Native Oberon? Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand. Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings. regards -- Bernhard -- Oberon@lists.inf.ethz.ch<mailto:Oberon@lists.inf.ethz.ch> mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon -- Oberon@lists.inf.ethz.ch<mailto:Oberon@lists.inf.ethz.ch> mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Thanks a lot to Jan & Jörg. The display init string turned out to be a dead end. Init initializes (as Jörg notes) the resoltution by setting the Vesa mode, which was in my case: bb0301b8024fcd40ba00e0b90000. I have setup this box about 10 years ago or more and I have lost my notes. HDT tells me that I have three 1280x1024 modes, i.e. 794 which is 16bit and 775 which is 8bit and 774 supposed to be 4bit. The problem turned out to be solvable with changing a BIOS setting. Regards -- Bernhard
-----Original Message----- From: Jörg [mailto:joerg.straube@iaeth.ch] Sent: Friday, June 16, 2017 11:14 PM To: ETH Oberon and related systems Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Bernhard
Here some explanations of some demo init string values
Init=„bb0501b8024fcd10“ bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H
Init=„b81200cd10bb003fb80110cd10“ b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H
Jörg
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch)' <oberon@lists.inf.ethz.ch> Subject: [Oberon] Help: Display Init Strings for Native Oberon
Does anybody remember how to create display Init Strings for Native Oberon?
Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand.
Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings.
regards -- Bernhard
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Okay. Your init string sets the VESA mode 259 = 800 x 600 x 8. In your mail you mentioned the Linux video modes. Here is the mapping VESA Linux 1280 x 1024 x 4 262 774 1280 x 1024 x 8 263 775 1280 x 1024 x 16 282 794 br Jörg -----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Montag, 19. Juni 2017 09:40 To: 'ETH Oberon and related systems' <oberon@lists.inf.ethz.ch> Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon Thanks a lot to Jan & Jörg. The display init string turned out to be a dead end. Init initializes (as Jörg notes) the resoltution by setting the Vesa mode, which was in my case: bb0301b8024fcd40ba00e0b90000. I have setup this box about 10 years ago or more and I have lost my notes. HDT tells me that I have three 1280x1024 modes, i.e. 794 which is 16bit and 775 which is 8bit and 774 supposed to be 4bit. The problem turned out to be solvable with changing a BIOS setting. Regards -- Bernhard
-----Original Message----- From: Jörg [mailto:joerg.straube@iaeth.ch] Sent: Friday, June 16, 2017 11:14 PM To: ETH Oberon and related systems Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Bernhard
Here some explanations of some demo init string values
Init=„bb0501b8024fcd10“ bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H
Init=„b81200cd10bb003fb80110cd10“ b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H
Jörg
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch)' <oberon@lists.inf.ethz.ch> Subject: [Oberon] Help: Display Init Strings for Native Oberon
Does anybody remember how to create display Init Strings for Native Oberon?
Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand.
Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings.
regards -- Bernhard
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Gruezzi Jörg,
Your init string sets the VESA mode 259 = 800 x 600 x 8.
Oops, I fetched from the wrong partition with GetConfig. The correct one was: bb0701b8024fcd10ba00e0b90000 which would be:
bb 0701 BL = 07, BH = 01
I think that is VESA mode 107H = 263 (1280x1024, 8bit) So 16bit would be 282 = 011AH i.e.: bb1A01b8024fcd10ba00e0b90000 I gave it a try via modifying the DDepth & Init during boot: Hit Scroll-Lock during boot and set the variables with name=value and then hit c. But sadly enough this time it enters again a mode with 89Hz vertical and 48.2kHz horizontal, which is not handled by the TFT ... Salut -- Bernhard
-----Original Message----- From: Jörg [mailto:joerg.straube@iaeth.ch] Sent: Monday, June 19, 2017 10:34 AM To: 'ETH Oberon and related systems' Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Okay. Your init string sets the VESA mode 259 = 800 x 600 x 8.
In your mail you mentioned the Linux video modes. Here is the mapping VESA Linux 1280 x 1024 x 4 262 774 1280 x 1024 x 8 263 775 1280 x 1024 x 16 282 794
br Jörg
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Montag, 19. Juni 2017 09:40 To: 'ETH Oberon and related systems' <oberon@lists.inf.ethz.ch> Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Thanks a lot to Jan & Jörg.
The display init string turned out to be a dead end. Init initializes (as Jörg notes) the resoltution by setting the Vesa mode, which was in my case: bb0301b8024fcd40ba00e0b90000.
I have setup this box about 10 years ago or more and I have lost my notes.
HDT tells me that I have three 1280x1024 modes, i.e. 794 which is 16bit and 775 which is 8bit and 774 supposed to be 4bit. The problem turned out to be solvable with changing a BIOS setting.
Regards -- Bernhard
-----Original Message----- From: Jörg [mailto:joerg.straube@iaeth.ch] Sent: Friday, June 16, 2017 11:14 PM To: ETH Oberon and related systems Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Bernhard
Here some explanations of some demo init string values
Init=„bb0501b8024fcd10“ bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H
Init=„b81200cd10bb003fb80110cd10“ b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H
Jörg
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch)' <oberon@lists.inf.ethz.ch> Subject: [Oberon] Help: Display Init Strings for Native Oberon
Does anybody remember how to create display Init Strings for Native Oberon?
Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand.
Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings.
regards -- Bernhard
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Okay. Resolution and color depth is one thing. Timing another. What timings does your TFT support? Officially for the resolution 1280 x 1024, VESA supports four timings: screen vertical pixel 60 Hz 64 kHz 108 MHz 75 Hz 80 kHz 135 MHz 85 Hz 91 kHz 157 MHz <-- seems not to be supported by your TFT 100 Hz 108 kHz 191 MHz <-- probably this is out of reach as well In addition to the resolution, the used VBE function AX=4f02 allows you to set the requested timing as well. ES:DI is the pointer to the CRTCInfoBlock where you have to set the correct timings. br Jörg -----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Montag, 19. Juni 2017 12:50 To: 'ETH Oberon and related systems' <oberon@lists.inf.ethz.ch> Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon Gruezzi Jörg,
Your init string sets the VESA mode 259 = 800 x 600 x 8.
Oops, I fetched from the wrong partition with GetConfig. The correct one was: bb0701b8024fcd10ba00e0b90000 which would be:
bb 0701 BL = 07, BH = 01
I think that is VESA mode 107H = 263 (1280x1024, 8bit) So 16bit would be 282 = 011AH i.e.: bb1A01b8024fcd10ba00e0b90000 I gave it a try via modifying the DDepth & Init during boot: Hit Scroll-Lock during boot and set the variables with name=value and then hit c. But sadly enough this time it enters again a mode with 89Hz vertical and 48.2kHz horizontal, which is not handled by the TFT ... Salut -- Bernhard
-----Original Message----- From: Jörg [mailto:joerg.straube@iaeth.ch] Sent: Monday, June 19, 2017 10:34 AM To: 'ETH Oberon and related systems' Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Okay. Your init string sets the VESA mode 259 = 800 x 600 x 8.
In your mail you mentioned the Linux video modes. Here is the mapping VESA Linux 1280 x 1024 x 4 262 774 1280 x 1024 x 8 263 775 1280 x 1024 x 16 282 794
br Jörg
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Montag, 19. Juni 2017 09:40 To: 'ETH Oberon and related systems' <oberon@lists.inf.ethz.ch> Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Thanks a lot to Jan & Jörg.
The display init string turned out to be a dead end. Init initializes (as Jörg notes) the resoltution by setting the Vesa mode, which was in my case: bb0301b8024fcd40ba00e0b90000.
I have setup this box about 10 years ago or more and I have lost my notes.
HDT tells me that I have three 1280x1024 modes, i.e. 794 which is 16bit and 775 which is 8bit and 774 supposed to be 4bit. The problem turned out to be solvable with changing a BIOS setting.
Regards -- Bernhard
-----Original Message----- From: Jörg [mailto:joerg.straube@iaeth.ch] Sent: Friday, June 16, 2017 11:14 PM To: ETH Oberon and related systems Subject: Re: [Oberon] Help: Display Init Strings for Native Oberon
Bernhard
Here some explanations of some demo init string values
Init=„bb0501b8024fcd10“ bb 0501 BL = 05, BH = 01 (VESA Modus 105H = 1024 x768 x 8) b8 024f AL = 02, AH = 4F (activate VESA mode) cd 10 INT 10H
Init=„b81200cd10bb003fb80110cd10“ b8 1200 AL = 12, AH = 00 (set 640 x 480 x 4) cd 10 INT 10H bb 003f BL = 00, BH = 3F (color 3FH) b8 0110 AL = 01, AH = 10 (set border color) cd 10 INT 10H
Jörg
-----Original Message----- From: Oberon [mailto:oberon-bounces@lists.inf.ethz.ch] On Behalf Of Treutwein Bernhard Sent: Freitag, 16. Juni 2017 15:42 To: 'Oberon Mailing List ETH (oberon@lists.inf.ethz.ch)' <oberon@lists.inf.ethz.ch> Subject: [Oberon] Help: Display Init Strings for Native Oberon
Does anybody remember how to create display Init Strings for Native Oberon?
Background: I recently dumped my old CRT and replaced it with a TFT, my old NO installation switches the S3 Trio display via an Init string to 90 Hz refresh Rate, which the TFT does not understand.
Although I remember, how to set the boot variables temprarily (see also: http://www.ethoberon.ethz.ch/native/WebConfig.html) I do not remember how to create these crude Init strings.
regards -- Bernhard
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Wow! So the Hex InitString was a direct X86 binary patch. Very naughty/illegal. And therefore never explained. <Display> seems very complex; and while it gives no problems, one can get the illusion that "I know what I'm doing". When I changed from CRT to WideScreen HDMI [now stolen], I had multiple subtle problems; which were individually <hidden> by much wasted effort; finding empirical solutions. Like finding magic herbs for an ailment, without understanding the underlying physics.
From: eas lab [mailto:lab.eas@gmail.com] Sent: Tuesday, June 20, 2017 6:34 AM [...] So the Hex InitString was a direct X86 binary patch. Very naughty/illegal. And therefore never explained
not true, very well documented: You can find on http://www.ethoberon.ethz.ch/native/WebConfig.html in the section about configuration strings for "Display drivers". This document is available since more than decade, although the location varies, where you were able to find it ... - "Init": For display mode initialisation. A list of 8-bit hexadecimal numbers (up to 75 bytes) with no spaces in between. This string is interpreted at boot time, when the processor is still in 16-bit mode. The values are interpreted as machine code and executed. This is a powerful (if crude) way to set the display mode by setting up registers, writing to the low-memory setup area, and doing BIOS calls. Used in boot loader (since version 2.06).
Thanks a lot.
Okay. Resolution and color depth is one thing. Timing another. What timings does your TFT support?
absolutely true.
Officially for the resolution 1280 x 1024, VESA supports four timings: screen vertical pixel 60 Hz 64 kHz 108 MHz 75 Hz 80 kHz 135 MHz 85 Hz 91 kHz 157 MHz <-- seems not to be supported by your TFT 100 Hz 108 kHz 191 MHz <-- probably this is out of reach as well
I guess you're right.
In addition to the resolution, the used VBE function AX=4f02 allows you to set the requested timing as well. ES:DI is the pointer to the CRTCInfoBlock where you have to set the correct timings.
hmm. But I have no idea how I could manage that. I guess I might find it here https://web.archive.org/web/20081211174813/http://docs.ruudkoot.nl/vbe20.txt in Sec. 4.5, although there is no hint about the buffer here and I do not know how I could setup that CRTCInfoBlock ...
participants (4)
-
eas lab -
Jan de Kruyf -
Jörg -
Treutwein Bernhard