Example #1
0
        public void Initialize()
        {
            Ports  = new TVCPorts();
            Memory = new TVCMemory(this);
            Memory.LoadSystemMemory(@"..\..\roms\rom.bin");
            Memory.LoadExtMemory(@"..\..\roms\ext.bin");
            Memory.LoadCartMemory(@"d:\Stuff\tvc\szanko.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\mralex.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\invaders.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\vili.rom");

            Video     = new TVCVideo(this);
            Keyboard  = new TVCKeyboard(this);
            Interrupt = new TVCInterrupt(this);

            CPU = new Z80(Memory, Ports, null, true);

            Cards = new ITVCCard[ExpansionCardCount];

            InsertCard(0, new HBFCard());

            Ports.AddPortReader(0x5a, PortRead5AH);

            Reset();
        }
Example #2
0
        public void Initialize()
        {
            Ports  = new TVCPorts();
            Memory = new TVCMemory(this);
            Memory.LoadSystemMemory(@"..\..\roms\rom.bin");
            Memory.LoadExtMemory(@"..\..\roms\ext.bin");
            //Memory.LoadCartMemory(@"d:\Stuff\tvc\szanko.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\mralex.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\invaders.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\vili.rom");
            //Memory.LoadCartMemory(@"c:\Users\laszlo.arvai\Downloads\cfcart128.crt");

            Video     = new TVCVideo(this);
            Keyboard  = new TVCKeyboard(this);
            Interrupt = new TVCInterrupt(this);

            CPU = new Z80(Memory, Ports, null, true);

            Cards = new ITVCCard[TVComputerConstants.ExpansionCardCount];

            //InsertCard(0, new HBF.HBFCard());

            Ports.AddPortReader(0x5a, PortRead5AH);

            // cartridge init
            Cartridge = new TVCCartridge();
            Cartridge.Initialize(this);
            //Cartridge = new TVCMultiCart();
            //Cartridge.Initialize(this);

            Reset();
        }
Example #3
0
        public void Initialize()
        {
            Ports  = new TVCPorts();
            Memory = new TVCMemory(this);
            Memory.LoadSystemMemory(@"..\..\roms\rom.bin");
            Memory.LoadExtMemory(@"..\..\roms\ext.bin");
            //Memory.LoadCartMemory(@"d:\Stuff\tvc\szanko.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\mralex.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\invaders.rom");
            //Memory.LoadCartMemory(@"c:\Temp\tvc\vili.rom");

            Video     = new TVCVideo(this);
            Keyboard  = new TVCKeyboard(this);
            Interrupt = new TVCInterrupt(this);

            CPU = new Z80(Memory, Ports, null, true);

            Reset();
        }