Jump to content

Recommended Posts

Posted

I was just wanting to know if anyone knows of a way to edit CDShell where it will provide the option

to bootup in Dos text mode or GUI mode. I know this can be done with other self booting programs.

Thank you for any response.


Posted (edited)

Yep It is possible, I have used that option also a litte time, but then decided i didnt needed anyfurther because all my pc's supported the CDShell graphical menu..

There are 2 ways you could do this,

1. asking the user for txt-mode or graphic-mode

2. automatically check if the computer supports graphic-mode

2.a yes= graphical mode

2.b no = txt mode

Anyway i will do some digging in my archive and will come back to this later

-directly from the CDshell.ini downloaded from url below-

set AskWhichMode = 1

set ForceModeTxt = 0

START:

if $AskWhichMode == 0; then goto HOME

BOOT:

cls

SET TEXTCURSORX = 0; SET TEXTCURSORY = 23

print " Press ENTER to launch boot menu... (you have 10s)"

getkey 10 then boot 0x80

if $lastKey == key[enter]; then cls; then goto HOME

if $lastKey == key[t]; then cls; then set ForceModeTxt = 1; then goto HOME

if $lastKey == key[T]; then cls; then set ForceModeTxt = 1; then goto HOME

goto BOOT

HOME:

if $vga; then if $vesa; then set ModeGraphique = 1; else set ModeGraphique = 0

if $ModeGraphique == 1 && $ForceModeTxt == 0; then goto GRPH; else goto TXT

GRPH:

<<your graphical bootmenu code..>>

TXT:

<<your txt bootmenu>>

You also may wanna have a look here (French :huh: )

http://severinterrier.free.fr/Forum/viewtopic.php?t=234

Dont copy and paste the code directly, i just made this post in my lunchtime ;)

Edited by 5128
Posted (edited)

# BOOT PARAMETERS

set OpstartNotificatie = 1 # Set boot notification "press enter to boot from dvd...."

set ForceModeTxt = 0 #Forces Text Mode

set BootToujours = 0 # Specifie de booter meme si le support ne semble pas bootable

# Script

START:

if $OpstartNotificatie == 0; then goto HOME

BOOT:

cls

SET TEXTCURSORX = 0; SET TEXTCURSORY = 21

print " To load AIO MultiBoot by 5128: \n"

print "\n"

print c "\c06 T for TEXT-MODE....... \n"

print c "\c06 ENTER for GRAPHIC-MODE...... \n"

getkey 5 boot 0x80

if $lastKey == key[enter]; then cls; then goto HOME

if $lastKey == key[t]; then cls; then set ForceModeTxt = 1; then goto HOME

if $lastKey == key[T]; then cls; then set ForceModeTxt = 1; then goto HOME

goto BOOT

HOME:

if $vga; then if $vesa; then set ModeGraphique = 1; else set ModeGraphique = 0

if $ModeGraphique == 1 && $ForceModeTxt == 0; then goto GRPH; else goto TXT

# SCRIPT GRAPHIC MENU

...

# SCRIPT TEXT-MENU

...

CDSHELL.ini

Edited by 5128

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...