Recommended by Wim's BIOS... BIOS Agent scan: Upgrade your BIOS! Driver Agent scan: Instant Access to 116,215 Device Drivers Updates!

Translate BIOS component: _EN_CODE.BIN

Only for programmers and BIOS gurus with technical questions.

Moderator: Moderators

Translate BIOS component: _EN_CODE.BIN

 

Translate BIOS component: _EN_CODE.BIN

Postby Borg Number One » Sun Nov 14, 2004 11:55 pm

Inside newer BIOSes (especially in Phoenix-Award BIOS v6.00PG) you can see the file: "_EN_CODE.BIN".

It seems to be the language file for the English BIOS-Setup-Menus.

Does anybody know how to edit/translate this file without destroying important bytes?

Does anybody have got some specs about the file?
BIOS backup - Multi BIOS - prevent a BIOS update failure:
RD1 BIOS Savior
[url=http://www.ioss.com.tw]
http://www.ioss.com.tw[/url]
User avatar
Borg Number One
Master Flasher
 
Posts: 169
Joined: Sun May 02, 2004 7:47 pm

Postby Amiboot » Thu Nov 18, 2004 10:26 pm

AFAIK this file is the language file for Award 6.00PG based BIOS'ses and is used in POST and Setup. When you change the strings you can use the space of the already existing string and the other space left for that value (in most cases fillt with spaces (20h)). I don't know how to "create more space" since I do not know to which module(s) and where in those module(s) this file corresponds.
User avatar
Amiboot
BIOS Rookie
 
Posts: 39
Joined: Sat Oct 09, 2004 9:28 pm
Location: Netherlands, Fryslân

Postby apple_rom » Fri Dec 24, 2004 1:45 am

Code: Select all
   cmp   al, 127      ;7fh - all high 128 bytes (and 7F)
   jae   .insert_unknown
   cmp   al, 31      ;1fh ~ symbol ASCII'1f'
   je   .insert_unknown
   cmp   al, 30      ;1eh ~ symbol ASCII'1e'
   je   .insert_unknown
   cmp   al, 29      ;1dh ~ symbol ASCII'1d'
   je   .insert_unknown
   cmp   al, 28      ;1ch ~ symbol ASCII'1c'
   je   .insert_unknown
   cmp   al, 27      ;1bh ~ symbol ASCII'1b'
   je   .insert_unknown
   cmp   al, 26      ;1ah ~ symbol ASCII'1a'
   je   .insert_unknown
   cmp   al, 25      ;19h ~ symbol ASCII'19'
   je   .insert_unknown
   cmp   al, 24      ;18h ~ symbol ASCII'18'
   je   .insert_unknown
   cmp   al, 23      ;17h ~ symbol ASCII'17'
   je   .insert_unknown
   cmp   al, 22      ;16h ~ symbol ASCII'16'
   je   .insert_unknown
   cmp   al, 21      ;15h - ?
   je   .insert_unknown
   cmp   al, 20      ;14h - JMP String
   je   .end_jmp_string
   cmp   al, 19      ;13h - Substracting X cursor position
   je   .insert_sub_x
   cmp   al, 18      ;12h - Warning attr.
   je   .insert_warning   ;check insert/end...
   cmp   al, 17      ;11h - Color
   je   .insert_color
   cmp   al, 16      ;10h - Call
   je   .insert_call
   cmp   al, 15      ;0f - Substracting Y cursor position
   je   .insert_sub_y
   cmp   al, 14      ;0e - Addding Y cursor position
   je   .insert_add_y
   cmp   al, 13      ;0d - CR (in 4.5x - SUB_X)
   je   .insert_CR
   cmp   al, 12      ;0c - Addding X cursor position
   je   .insert_add_x
   cmp   al, 11      ;0b - New line
   je   .insert_new_line
   cmp   al, 10      ;0a - Return (in 4.5x - Warning attr.)
   je   .insert_LF
   cmp   al, 9      ;09 - Blink attr.
   je   .end_blink
   cmp   al, 8      ;08 - Normal attr.
   je   .end_normal
   cmp   al, 7      ;07 - Reverse attr.
   je   .end_reverse
   cmp   al, 6      ;06 - Hilighting attr.
   je   .end_hilighting
   cmp   al, 5      ;05 - Position cursor
   je   .insert_position_cursor
   cmp   al, 4      ;04 - Show String
   je   .insert_show_string
   cmp   al, 3      ;03 - Clear
   je   .insert_clear
   cmp   al, 2      ;02 - Border
   je   .insert_border
   cmp   al, 1      ;01 - Disabled option
   je   .end_minus
   cmp   al, 0      ;00 - End of string
;   je   .end_0D_0A
   je   .end_00

BIOS_Patcher can decode this file into "readability" format - see tmp-file "lng_en.txt" after his working. He can also code editing-variant (into BIOS), but this function not more testing (but i have some gut results)...
apple_rom
Use my patch at your own risk!!
 
Posts: 125
Joined: Tue Jan 07, 2003 11:39 am
Location: Minsk

Re: Translate BIOS component: _EN_CODE.BIN

Postby KURIAKI » Fri Dec 24, 2004 4:08 am

Borg Number One wrote:Inside newer BIOSes (especially in Phoenix-Award BIOS v6.00PG) you can see the file: "_EN_CODE.BIN".

It seems to be the language file for the English BIOS-Setup-Menus.

Does anybody know how to edit/translate this file without destroying important bytes?

Does anybody have got some specs about the file?


I can see _EN_CODE.BIN in Award BIOS. Do you mean this?

_EN_CODE.BIN......X....5.L $..$'.F\.d.l@.*./.;...................................................................Disabled.Enabled .Disabled.Phoenix Technologies, LTD...O.....O.......O.....System Configurations.ACPI Controller.Bus No. Device No. Func No. Vendor/Device Class Device Class IRQ.PCI device listing ....Unknown PCI Device.Mass Storage Cntrlr.Network Cntrlr.Display Cntrlr.Multimedia Device.Memory Controller.Bridge Device.Simple COMM. Cntrlr.Base Sys. Peripherals.Input Device.Docking Stations.Processors.Serial Bus Cntrlr.Wireless Cntrlr.Intelligent I/O Cntrlr.Satellite Comm. Cntrlr.En/Decryption Cntrlr.Data acquistion Cntrlr.IDE Cntrlr.SMBus Cntrlr.USB 1.0/1.1 UHCI Cntrlr.USB 1.0/1.1 OHCI Cntrlr.USB 2.0 EHCI Cntrlr.RAID Cntrlr.PCI/CardBus bridge.Generic 8259 PIC.I/O APIC Cntrlr.I/O(X) APIC Cntrlr.PCI Hot-Plug Cntrlr.None.Not Installed.Installed.NA.CPU Type.CPU ID/ucode ID.CPU Clock.Base Memory..:.Extended Memory..:..L3 Cache Size..: .Cache Memory..: .Diskette Drive A : .Pri. Master Disk .Sec...Pri. Slave ...Sec...Display Type..: .Serial Port(s)..: .Parallel Port(s) : ....9.0.q.z.......1.H.[.o.~...................$.4.K.b.w...................*.=.Q.V.d.n.q.z.........................-.@.U.....IDE Channel 2 Master.IDE Channel 2 Slave.IDE Channel 3 Master.IDE Channel 3 Slave.IDE Auto-Detection.Extended IDE Drive.None .Auto .Large.Auto .............".5.H.V...............Detecting IDE drives .... None ...IDE Channel 0 Master :...IDE Channel 0 Slave :...IDE Channel 1 Master :...IDE Channel 1 Slave :.....Detecting IDE drives ......IDE Channel 2 Master :...IDE Channel 2 Slave :...IDE Channel 3 Master :...IDE Channel 3 Slave :.IDE Channel .0.1.2.3. no 80 conductor cable installed.IDE Channel 0 . Master Disk .IDE Channel 1 ...IDE Channel 0 . Slave ...IDE Channel 1 ...IDE Channel 2 ...IDE Channel 3 ...IDE Channel 2 ...IDE Channel 3 ...................%.>.W.p.......................).:.K..CMOS checksum error - Defaults loaded..CMOS battery failed..Override enabled - Defaults loaded.., An Energy Star Ally..Memory Testing : .K OK.K: .Main Processor : .Display switch is set incorrectly..Keyboard is locked out - Unlock the key.Keyboard error or no keyboard present.Memory test fail.... ....Press .F1. to continue,... .....Press .F1. to continue,... .........Press.... .DEL. to enter SETUP..... .....Press .DEL. to enter SETUP.... .Floppy disk(s) fail ( )...Hard disk(s) Diagnosis fail.Primary master hard disk fail.Primary slave hard disk fail.Secondary master hard disk fail.Secondary slave hard disk fail....Warning:.The boot devices have been changed...BBS boot priority will be affected.Please enter setup to check......., .ESC. to skip memory test....., .ESC. to skip memory test..... ....O...... . ....Entering Setup........... . ....Loading Boot Menu.......... ....O......O..Conflict I/O Ports : .. ..:Expand/Close ..:Move Enter:Accept F4:Exit ..No Bootable Device Found.== Select a Boot First device ==.Boot Menu.Removable Device.Hard Disk................. .+.....Detecting IDE drives .... None .CPU Brand Name : .Warning! CPU has been changed..Please re-enter CPU settings in the CMOS setup and remember to save before quit!.Hyper-Threading Technology CPU Detected (Hyper-Threading Technology ..Enabled.)..Disabled.)...+ M shared memory....>.................#.5.X......./.T.X.e.{...........,.I.i.......:.X.^.............N.g...................................g.............Advanced BIOS Features.Advanced Chipset Features.PnP/PCI Configurations.Power Management Setup .Integrated Peripherals.PC Health Status.Frequency/Voltage Control.Load Fail-Safe Defaults.Load Optimized Defaults. . . . . .Standard CMOS Features.Set Supervisor Password.Set User Password.Save & Exit Setup.Exit Without Saving.Virus Protection, Boot Sequence....AT clock, DRAM timings....Sleep timer, Suspend timer....IRQ Settings, Latency Timers....Onboard IO, IRQ, DMA Assignment....Load Fail-Safe Defaults.Load Optimized Defaults.Time, Date, Hard Disk Type....Display CPU/System Temperature, Fan speed.Change CPU's Clock & Voltage.Change/Set/Disable Password.Save Data to CMOS.Abandon all Data.Press Enter.Press Enter.......8.....SAVE to CMOS and EXIT (Y/N)? .....7.....Quit Without Saving (Y/N)? .Item Help.Press any key to continue....... ....:Move Enter:Select +/-/PU/PD:Value F10:Save ESC:Exit F1:General Help ... F5: Previous Values F6: Fail-Safe Defaults F7: Optimized Defaults ....Esc : Quit . . . . : Select Item...F10 : Save & Exit Setup .....@..... Load Previous Values for this page (Y/N)? .....@.....Load Fail-Safe Defaults.G.....@.....Load Optimized Defaults.G...........Main ...........Advanced .......Power ..........Defaults .......Security .......Utilities ......Exit ...........PC Health ......Clk/Voltage .... ...... ...... .....6.....PASSWORD DISABLED !!! .........6..... Enter Password: .....6.....Confirm Password: .....6.....Invalid Password !...Press Any Key to Continue. .....6... .System Halted!!.....6..... System Halted!! .....6..... Enter Password: ..... ... ...6.....Invalid Password !...Press Any Key to Continue. .Load Optimized Defaults (Y/N)? ........9......Load Fail-Safe Defaults (Y/N)? .Load Optimized Defaults.F6 .F7 .IDE HDD Auto-Detection. & Exit SETUP....J.....I.....I..!..General Help......F9 : Menu in BIOS..... : Move.Enter : Select.+/-/PU/PD : Value.ESC : Exit.F1 : General Help.F2 : Item Help.F5 : Previous Values.F6 : Fail-Safe Defaults.F7 : Optimized Defaults.F9 : Menu in BIOS.F10 : Save.Menu Level .N.`.w...............2.K.d.}...............9.S.q...........,.I.e.w...................(.^................. .0.@.P.`.k.............#.K.k.......5.M.T.[.r...............Boot Sequence.Small Logo(EPA) Show.OS Select For DRAM > 64MB.Non-OS2.OS2 .Select OS2 only if you are running OS/2 operating system with greater than 64MB of RAM on the system .Report No FDD For WIN 95.No .Yes.First Boot Device.Second Boot Device.Third Boot Device.Select Your Boot Device Priority .Boot Other Device.Boot Up Floppy Seek.Enabled tests floppy drives to determine whether they have 40 or 80 tracks.Boot Up NumLock Status.Selects power on state for NumLock .IDE HDD Block Mode.If your IDE hard drive supports block mode select Enabled for automatic detection of the optimal number of block read/writes per sector the drive can support .Gate A20 Option.Normal.Fast .Fast - lets chipset control GateA20 and Normal - a pin in the keyboard controller controls GateA20. Default is Fast.Typematic Rate Setting.Typematic Rate (Chars/Sec).Typematic Delay (Msec).6 .8 .10.12.15.20.24.30.250 .500 .750 .1000.
More than 100,000 BIOS strings in my database just now!
http://www.kuriaki.has.it/
http://www.supportbios.info
------------------------------------------
Saludos desde Cancun, Mexico
KURIAKI
KURIAKI
Moderator
 
Posts: 1037
Joined: Thu Nov 18, 2004 9:37 pm
Location: Cancun, Mexico

Postby Borg Number One » Mon Jan 03, 2005 9:21 pm

Thank you for the help, but now I figured out how to get to run the latest MODBIN6 20000 ( 2.00.00 ) with the new BIOSes...
...you have to run MODBIN in real DOS or Win98-DOSBOX.
In Win2K -DOSBOX you will get problems.

Viewing/changing the BIOS Message.
Image

BIOS-Setup-Structure
Image

Changing ( hide/unhide) items and values.
Image
BIOS backup - Multi BIOS - prevent a BIOS update failure:
RD1 BIOS Savior
[url=http://www.ioss.com.tw]
http://www.ioss.com.tw[/url]
User avatar
Borg Number One
Master Flasher
 
Posts: 169
Joined: Sun May 02, 2004 7:47 pm

Postby apple_rom » Thu Jan 13, 2005 10:49 pm

>hank you for the help, but now I figured out how to get to run the latest MODBIN6 20000 ( 2.00.00 ) with the new BIOSes...
This is because setup can take datas from different sources - and main body of bios (original.tmp, 2-nd segment) and additional file (_EN_CODE.BIN or another language-files).
Old modbin took from the second segment only, new - takes from the separate file. But in real lifes producers use both variants immediately (because of what and seen incomprehensible question marks). So and does not work a program with new bios.
apple_rom
Use my patch at your own risk!!
 
Posts: 125
Joined: Tue Jan 07, 2003 11:39 am
Location: Minsk

en_code

Postby sideeffect » Thu Sep 08, 2005 1:18 pm

Hi i have been using the _en_code.bin to enable functions in the bios that were deactivated. Had some good results enabling dividers for the athlon 64 that wernt selectable.

I need some help though there are options in the en_code that are enabled with all the variables but they do not display in the bios setup menu in Modbin or the real bios.

How can I get these options to display. Also there is space in the _en_code for aditional options i was trying to add memtest option to the bios so that it would boot my memtest rom files that i added to the bios. Much like they did with the DFI nforce 3. I got the options into the _en_code but it also wont display in bios setup.

Seems that the _en_code.bin is read only and that the bios setup menu is seperate from the en_code. If so how can i edit the real menu.
sideeffect
New visitors - please read the rules.
 
Posts: 1
Joined: Thu Sep 08, 2005 1:08 pm


Return to In-depth High-tech BIOS section

Who is online

Users browsing this forum: No registered users and 0 guests