Skip to content
This repository was archived by the owner on Apr 25, 2021. It is now read-only.

Commit 75ec5e6

Browse files
committed
OpenPython v1.0.0
1 parent cf59f93 commit 75ec5e6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/main/java/kr/pe/ecmaxp/openpython/OpenPython.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ object OpenPython {
4141

4242
Items.registerEEPROM(
4343
"EEPROM (OpenPython BIOS)",
44-
OpenPythonFirmware.DEBUG.loadEEPROM(),
44+
OpenPythonFirmware.v1_0_0.loadEEPROM(),
4545
byteArrayOf(),
4646
false
4747
)

src/main/java/kr/pe/ecmaxp/openpython/arch/OpenPythonFirmware.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import kr.pe.ecmaxp.thumbsf.CPU
66
import java.net.URL
77
import java.util.*
88

9-
class OpenPythonFirmware(val name: String = "debug") {
9+
class OpenPythonFirmware(val name: String) {
1010
val protocol = 1
1111
private val path: String = "/assets/${OpenPython.MODID}/firmwares/$name"
1212

1313
companion object {
14-
val DEBUG = OpenPythonFirmware()
14+
val v1_0_0 = OpenPythonFirmware("v1.0.0")
1515
}
1616

1717
init {

src/main/java/kr/pe/ecmaxp/openpython/console/OpenPieBenchmark.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object OpenPythonBenchmark {
1717
@JvmStatic
1818
fun main(args: Array<String>) {
1919
val cpu = CPU()
20-
val firmware = OpenPythonFirmware.DEBUG
20+
val firmware = OpenPythonFirmware.v1_0_0
2121
cpu.memory.apply {
2222
flash(FLASH.address, FLASH.size, firmware.loadFirmware())
2323
map(SRAM.address, SRAM.size, MemoryFlag.RW) // ram

0 commit comments

Comments
 (0)