Skip to content

Commit

Permalink
Revert "SDK port for CP/M-65 (#80)" (#82)
Browse files Browse the repository at this point in the history
This reverts commit c158ca9.
  • Loading branch information
mysterymath authored Oct 10, 2022
1 parent c158ca9 commit 9ce9834
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 896 deletions.
1 change: 0 additions & 1 deletion mos-platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ add_subdirectory(common)
add_subdirectory(atari8)
add_subdirectory(commodore)
add_subdirectory(c64)
add_subdirectory(cpm65)
add_subdirectory(cx16)
add_subdirectory(mega65)
add_subdirectory(sim)
Expand Down
19 changes: 0 additions & 19 deletions mos-platform/common/c/ctype.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,3 @@ int isprint(int c) {
char ch = (char)c;
return ch >= 0x1f && ch < 0x7f /*DEL*/;
}

int isdigit(int c) {
char ch = (char)c;
return ch >= '0' && ch <= '9';
}

int isalpha(int c) {
char ch = (char)c;
return ((ch >= 'A') && (ch <= 'Z'))
|| ((ch >= 'a') && (ch <= 'z'));
}

int toupper(int c) {
char ch = (char)c;
if ((ch >= 'a') && (ch <= 'z'))
ch &= ~0x20;
return ch;
}

5 changes: 1 addition & 4 deletions mos-platform/common/include/ctype.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
extern "C" {
#endif

extern int isprint(int c);
extern int isdigit(int c);
extern int isalpha(int c);
extern int toupper(int c);
int isprint(int c);

#ifdef __cplusplus
}
Expand Down
37 changes: 0 additions & 37 deletions mos-platform/cpm65/CMakeLists.txt

This file was deleted.

13 changes: 0 additions & 13 deletions mos-platform/cpm65/bios.S

This file was deleted.

4 changes: 0 additions & 4 deletions mos-platform/cpm65/clang.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions mos-platform/cpm65/comhdr.S

This file was deleted.

112 changes: 0 additions & 112 deletions mos-platform/cpm65/cpm-wrappers.c

This file was deleted.

106 changes: 0 additions & 106 deletions mos-platform/cpm65/cpm.S

This file was deleted.

Loading

0 comments on commit 9ce9834

Please sign in to comment.