/*************************************************
*           BK Emulator v3.9 for Windows         *
*************************************************/

/*
File: Board_MSTD.h
Version: 1.0.0
Written by: Yuriy Kalmykov <kalmykov@stoik.com>
    Copyright (c) 2002-2004 Yuriy Kalmykov

    BK Emulator is a program emulated hardware environment for running
code for BK 0010(01) in different configurations.

    This code may be used in compiled form in any way you desire.
This file or it's parts can't be redistributed without the authors
written consent, but can be modified for your private needs.
    Providing that this notice and the authors name and all copyright
notices remains intact.

    Please, an email me to know how you are using it and where. You can
ask me for any information about this below code or any attendant
knowledge.

    This file is provided "as is" with no expressed or implied warranty.
The author accepts no liability for any damage or loss of business that
this product may cause.
*/


// Board_MSTD.h: interface for the CMotherBoard_MSTD class.
//

#pragma once

#include "Board.h"
#define BRD_10_FOCAL_BLK 10
#define BRD_10_TESTS_BLK 14

class CMotherBoard_MSTD : public CMotherBoard
{
	protected:
		// Initialize memory
		virtual bool        InitMemoryModules() override;
		virtual void        MemoryManager() override;

	public:
		CMotherBoard_MSTD();
		virtual ~CMotherBoard_MSTD() override;

		virtual DWORD       GetConfiguration() override;

};

/*
Организация массива памяти (делается один большой массив)
32кб: ОЗУ
000000--банк 0 ---страница 0 --- 0
010000--банк 1
020000--банк 2
030000--банк 3
040000--банк 4 ---страница 1 --- 16384
050000--банк 5
060000--банк 6
070000--банк 7
32кб: ПЗУ
100000--банк 8 ---страница 2 --- 32768 - монитор MONIT10.ROM
110000--банк 9
120000--банк 10------------------------- фокал Focal.rom
130000--банк 11
140000--банк 12---страница 3 --- 49152 - дырка
150000--банк 13
160000--банк 14------------------------- тесты мстд Tests.rom
170000--банк 15
*/