Skip to content

Commit

Permalink
Implement (FAKE) T_GET function, so GORILLA.COM works.
Browse files Browse the repository at this point in the history
  • Loading branch information
skx committed May 15, 2024
1 parent db4956b commit f0d1896
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpm/cpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@ func New(logger *slog.Logger, prn string) *CPM {
Desc: "F_SIZE",
Handler: SysCallFileSize,
}
sys[105] = CPMHandler{
Desc: "T_GET",
Handler: SysCallTime,
Fake: true,
}

// Create the object
tmp := &CPM{
Expand Down
4 changes: 4 additions & 0 deletions cpm/cpm_syscalls.go
Original file line number Diff line number Diff line change
Expand Up @@ -1351,3 +1351,7 @@ func SysCallDriveROVec(cpm *CPM) error {
cpm.CPU.States.HL.Lo = 0x00
return nil
}

func SysCallTime(cpm *CPM) error {
return nil
}

0 comments on commit f0d1896

Please sign in to comment.