Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
6f95e202
Commit
6f95e202
authored
Oct 12, 2021
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move startup and test
parent
7ee4abd6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
4 deletions
+6
-4
compile.py
mipigo/compile.py
+3
-1
startup.sh
mipigo/startup.sh
+0
-2
startup.bin
mipigo/startup/startup.bin
+0
-0
startup.s
mipigo/startup/startup.s
+0
-0
startup.sh
mipigo/startup/startup.sh
+2
-0
test.go
mipigo/test/test.go
+0
-0
testbuild.sh
mipigo/test/testbuild.sh
+1
-1
No files found.
mipigo/compile.py
View file @
6f95e202
#!/usr/bin/env python3
import
os
import
sys
import
struct
from
rangetree
import
RangeTree
...
...
@@ -31,7 +32,8 @@ def load_minigeth(mu, fn="minigeth"):
print
(
"entrypoint: 0x
%
x"
%
entry
)
# moved to MIPS
start
=
open
(
"startup.bin"
,
"rb"
)
.
read
()
+
struct
.
pack
(
">I"
,
entry
)
sf
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)),
"startup"
,
"startup.bin"
)
start
=
open
(
sf
,
"rb"
)
.
read
()
+
struct
.
pack
(
">I"
,
entry
)
mu
.
mem_write
(
0
,
start
)
entry
=
0
...
...
mipigo/startup.sh
deleted
100755 → 0
View file @
7ee4abd6
#!/bin/bash -e
../mipsevm/maketests.py startup.s startup.bin
mipigo/startup.bin
→
mipigo/startup
/startup
.bin
View file @
6f95e202
File moved
mipigo/startup.s
→
mipigo/startup
/startup
.s
View file @
6f95e202
File moved
mipigo/startup/startup.sh
0 → 100755
View file @
6f95e202
#!/bin/bash -e
../../mipsevm/maketests.py startup.s startup.bin
mipigo/test.go
→
mipigo/test
/test
.go
View file @
6f95e202
File moved
mipigo/testbuild.sh
→
mipigo/test
/test
build.sh
View file @
6f95e202
...
...
@@ -3,4 +3,4 @@ export GOOS=linux
export
GOARCH
=
mips
export
GOMIPS
=
softfloat
go build test.go
./compile.py
test
.
.
/compile.py
test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment