mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-02-02 12:30:58 +00:00
5a7a3b5019
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
41 lines
1.5 KiB
C#
41 lines
1.5 KiB
C#
// <copyright file="Program.cs" company="Adrian Conlon">
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace LR35902.BlarggTest
|
|
{
|
|
public static class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
var configuration = new Configuration();
|
|
|
|
#if DEBUG
|
|
//configuration.DebugMode = true;
|
|
#endif
|
|
//configuration.DebugMode = true;
|
|
|
|
var computer = new Computer(configuration);
|
|
|
|
computer.Plug("blargg/cpu_instrs.gb"); // Passed
|
|
////computer.Plug("blargg/01-special.gb"); // Passed
|
|
////computer.Plug("blargg/02-interrupts.gb"); // Passed
|
|
////computer.Plug("blargg/03-op sp,hl.gb"); // Passed
|
|
////computer.Plug("blargg/04-op r,imm.gb"); // Passed
|
|
////computer.Plug("blargg/05-op rp.gb"); // Passed
|
|
////computer.Plug("blargg/06-ld r,r.gb"); // Passed
|
|
////computer.Plug("blargg/07-jr,jp,call,ret,rst.gb"); // Passed
|
|
////computer.Plug("blargg/08-misc instrs.gb"); // Passed
|
|
////computer.Plug("blargg/09-op r,r.gb"); // Passed
|
|
////computer.Plug("blargg/10-bit ops.gb"); // Passed
|
|
////computer.Plug("blargg/11-op a,(hl).gb"); // Passed
|
|
|
|
////computer.Plug("blargg/instr_timing.gb"); // Failed #255
|
|
////computer.Plug("blargg/interrupt_time.gb"); // Failed
|
|
|
|
computer.RaisePOWER();
|
|
computer.Run();
|
|
}
|
|
}
|
|
}
|