Skip to content

Commit

Permalink
Merge branch 'MockbaTheBorg:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ravn authored Dec 3, 2023
2 parents 23930e9 + 5103869 commit e3cab1d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion RunCPM/abstraction_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bool _RamLoad(char* filename, uint16 address) {
return(result);
}

/* Filesystem (disk) abstraction fuctions */
/* Filesystem (disk) abstraction functions */
/*===============================================================================*/
File rootdir, userdir;
#define FOLDERCHAR '/'
Expand Down
2 changes: 1 addition & 1 deletion RunCPM/abstraction_posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void _RamLoad(uint8* filename, uint16 address) {
_sys_fclose(file);
}

/* Filesystem (disk) abstraction fuctions */
/* Filesystem (disk) abstraction functions */
/*===============================================================================*/
#define FOLDERCHAR '/'

Expand Down
2 changes: 1 addition & 1 deletion RunCPM/abstraction_vstudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void _RamLoad(uint8* filename, uint16 address) {
_sys_fclose(file);
}

/* Filesystem (disk) abstraction fuctions */
/* Filesystem (disk) abstraction functions */
/*===============================================================================*/
WIN32_FIND_DATA FindFileData;
HANDLE hFind;
Expand Down
6 changes: 3 additions & 3 deletions RunCPM/cpm.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void _PatchCPM(void) {
_RamWrite( BIOSpage + i + 1, 0xFF);
_RamWrite( BIOSpage + i + 2, RET);
}
// ********** Patch CP/M (fake) Disk Paramater Block after the BDOS call entry **********
// ********** Patch CP/M (fake) Disk Parameter Block after the BDOS call entry **********
i = DPBaddr;
_RamWrite( i++, 64); // spt - Sectors Per Track
_RamWrite( i++, 0);
Expand Down Expand Up @@ -1418,7 +1418,7 @@ void _Bdos(void) {
}

/*
ToDo: C = 48 (30h) : Flush Bufers (CPM3)
ToDo: C = 48 (30h) : Flush Buffers (CPM3)
E = Purge flag
Returns: A = return code
H = Physical Error
Expand Down Expand Up @@ -1557,7 +1557,7 @@ void _Bdos(void) {

/*
ToDo: C = 106 (6Ah) : Set Default Password (CPM3)
DE = Password Addresss
DE = Password Address
Returns: None
*/
case F_PASSWD: {
Expand Down
2 changes: 1 addition & 1 deletion RunCPM/lua/lauxlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ LUALIB_API void luaL_pushresultsize (luaL_Buffer *B, size_t sz) {
** box (if existent) is not on the top of the stack. So, instead of
** calling 'luaL_addlstring', it replicates the code using -2 as the
** last argument to 'prepbuffsize', signaling that the box is (or will
** be) bellow the string being added to the buffer. (Box creation can
** be) below the string being added to the buffer. (Box creation can
** trigger an emergency GC, so we should not remove the string from the
** stack before we have the space guaranteed.)
*/
Expand Down
2 changes: 1 addition & 1 deletion RunCPM/lua/lfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void luaF_closeupval (lua_State *L, StkId level) {


/*
** Remove firt element from the tbclist plus its dummy nodes.
** Remove first element from the tbclist plus its dummy nodes.
*/
static void poptbclist (lua_State *L) {
StkId tbc = L->tbclist;
Expand Down
2 changes: 1 addition & 1 deletion RunCPM/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/*
abstraction.h - Adds all system dependent calls and definitions needed by RunCPM
This should be the only file modified for portability. Any other file
shoud be kept the same.
should be kept the same.
*/

#ifdef _WIN32
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RunCPM - Z80 CP/M emulator

(It is important to read this documentation fully before attempting to build RunCPM)
(It is important to read this documentation fully before attempting to build/use RunCPM)

RunCPM is an application which can execute vintage CP/M 8 bits programs on many modern platforms, like Windows, Mac OS X, Linux, FreeBSD, Arduino DUE and variants, like the Teensy or ESP32. It can be built both on 32 and 64 bits host environments and should be easily portable to other platforms.<br>
RunCPM is fully written in C and in a modular way, so porting to other platforms should be only a matter of writing an abstraction layer file for it. No modification to the main code modules should be necessary.
Expand Down

0 comments on commit e3cab1d

Please sign in to comment.