[Download] Improved BIOS for OCM

By NYYRIKKI

Enlighted (4619)

NYYRIKKI's picture

12-04-2008, 13:56

In case someone is interested, here is a bit improved BIOS for OCM. You can boot to 50Hz by holding down "H" on boot and you can save RTC setting by executing RTCSAVE.COM

Installation:
- Download new BIOS
- Format SD/MMC card
- Copy MSXBIOS.DAT as first file in the card
- If you want to change RTC-settings, copy RTCSAVE.COM to somewhere

(Tested with original hardware version supplied inside the OCM when shipped from factory)

Login or register to post comments

By NYYRIKKI

Enlighted (4619)

NYYRIKKI's picture

12-04-2008, 14:00

Ah, I forgot to include this: (added license.txt to packet)

-- ESE MSX-SYSTEM3 / MSX clone on a Cyclone FPGA (ALTERA)
-- Revision 1.00
--
-- Copyright (c) 2006 Kazuhiro Tsujikawa (ESE Artists' factory)
-- Copyright (c) 2006 D4 Enterprise,Inc.
-- Copyright (c) 2006 MSX association
-- All rights reserved.
--
-- Redistribution and use of this source code or any derivative works, are
-- permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice,
-- this list of conditions and the following disclaimer.
-- 2. Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
-- 3. Redistributions may not be sold, nor may they be used in a commercial
-- product or activity without specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

By karloch

Paragon (1950)

karloch's picture

14-04-2008, 01:32

At last! Some RTC workaround for OneChipMSX. Thanks NYYRIKKI! Smile

By KdL

Paladin (949)

KdL's picture

16-06-2017, 12:14

Hi NYYRIKKI. A new SDBIOS will be released soon with the Nextor Kernel inside but the patched MSX2PEXT.ROM will be shifted up of 64kB or more. Have you still the src of RTCSAVE.COM? It would nice to have the src in bundle with my package and make a v2.0 for the new SDBIOS. Wink

By KdL

Paladin (949)

KdL's picture

18-06-2017, 17:54

Hi. I have modify RTCSAVE by myself.

--- from debug ---
;                               ; the 31th sectors is the position of RTC CODE inside the custom MSX2PEXT.ROM
;
0145:   ld     de,#00DF         ;  6 * 32 + 31 = 223 sectors  --> 00DFh from start sector of OCM-BIOS.DAT (SDBIOS v1.9.2)
;       ld     de,#029F         ; 20 * 32 + 31 = 671 sectors  --> 029Fh for the new SDBIOS v2.0 with Nextor Kernel
;
;                               ; 32 sectors = 16384 bytes = 1 block ( 1 sector = 512 bytes )
;

By KdL

Paladin (949)

KdL's picture

18-06-2017, 23:19

It's ready! The final version will use this:

;       ld     de,#019F         ; 12 * 32 + 31 = 415 sectors  --> 019Fh for the SDBIOS v2.0 (v3.0) with Nextor Kernel

The JIS1.ROM will be shifted at the end of file.

[ MSX2+ SDBIOS 384kB ] OCM-SDBIOS v2.0 (soon)

3-2 (4000H)  (128K) MEGASDHC.ROM / NEXTOR16.ROM
0-0 (0000H)  ( 32K) MSX2P   .ROM
0-1 (4000H)  ( 16K) XBASIC2 .ROM
0-2 (4000H)  ( 16K) MSX2PMUS.ROM
3-1 (0000H)  ( 16K) MSX2PEXT.ROM
3-1 (4000H)  ( 32K) MSXKANJI.ROM
0-3 (4000H)  ( 16K) FREE16K .ROM
I/O          (128K) JIS1    .ROM


[ MSXtR SDBIOS 384kB (512kB) ] OCM-SDBIOS v3.0 (in future)

3-2 (4000H)  (128K) MEGASDHC.ROM / NEXTOR16.ROM
0-0 (0000H)  ( 32K) MSXTR   .ROM
0-1 (4000H)  ( 16K) XBASIC2 .ROM
0-2 (4000H)  ( 16K) MSXTRMUS.ROM
3-1 (0000H)  ( 16K) MSXTREXT.ROM
3-1 (4000H)  ( 32K) MSXKANJI.ROM
0-3 (4000H)  ( 16K) MSXTROPT.ROM
I/O          (128K) JIS1    .ROM / (256K) JIS1+2  .ROM

______________
KdL 2017.06.18

By KdL

Paladin (949)

KdL's picture

23-06-2017, 21:44

RTC save 2.0 is online!
New: autoscanning support for RTC patch into any "custom BIOS" with a max size of 1024kB.

Many thanks to NYYRIKKI for the source code.

By KdL

Paladin (949)

KdL's picture

12-08-2017, 19:50

Update!

; --------------------------------------------------
;     Prog:  RTC patch 2.0 for SUB-ROM
;     Modifications By: NYYRIKKI 2008 / KdL 2017
; --------------------------------------------------
;
[..]

WRTC:       EQU     #01FA       ; 1D10=MSX2, 1C9E=MSX2+, 1C9C=MSXtR, 01FA=ANY

[..]
My MSX profile