-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added: * DMA Control Support * Migration to New Range System * New Range System
- Loading branch information
1 parent
e5ac91f
commit a376d38
Showing
24 changed files
with
118 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "DMA.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma once | ||
#include <cstdint> | ||
|
||
class DMA { | ||
public: | ||
DMA() { | ||
control = 0x07654321; | ||
} | ||
|
||
uint32_t get_control() { return control; } | ||
|
||
private: | ||
uint32_t control; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
void RAM::newl() { | ||
for (int i = 0; i < (2 * 1024 * 1024); i++) { | ||
ram[i] = 0x0; | ||
ram[i] = 0xca; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
C:\Users\ronit\Desktop\PSEMU\PSEMU\Bios.cpp;C:\Users\ronit\Desktop\PSEMU\PSEMU\x64\Debug\Bios.obj | ||
C:\Users\ronit\Desktop\PSEMU\PSEMU\Bus.cpp;C:\Users\ronit\Desktop\PSEMU\PSEMU\x64\Debug\Bus.obj | ||
C:\Users\ronit\Desktop\PSEMU\PSEMU\CPU.cpp;C:\Users\ronit\Desktop\PSEMU\PSEMU\x64\Debug\CPU.obj | ||
C:\Users\ronit\Desktop\PSEMU\PSEMU\DMA.cpp;C:\Users\ronit\Desktop\PSEMU\PSEMU\x64\Debug\DMA.obj | ||
C:\Users\ronit\Desktop\PSEMU\PSEMU\PSEMU.cpp;C:\Users\ronit\Desktop\PSEMU\PSEMU\x64\Debug\PSEMU.obj | ||
C:\Users\ronit\Desktop\PSEMU\PSEMU\RAM.cpp;C:\Users\ronit\Desktop\PSEMU\PSEMU\x64\Debug\RAM.obj |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.