1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2026-04-21 01:16:46 +00:00

Added Pelles C IDE project files

This commit is contained in:
Curtis F Kaylor
2018-01-28 13:32:49 -05:00
parent 70f03c4db5
commit d53a4629f3
22 changed files with 273 additions and 0 deletions
+179
View File
@@ -0,0 +1,179 @@
#
# PROJECT FILE generated by "Pelles C for Windows, version 8.00".
# WARNING! DO NOT EDIT THIS FILE.
#
POC_PROJECT_VERSION = 7.00#
POC_PROJECT_TYPE = 3#
POC_PROJECT_OUTPUTDIR = output#
POC_PROJECT_RESULTDIR = .#
POC_PROJECT_ARGUMENTS = #
POC_PROJECT_WORKPATH = #
POC_PROJECT_EXECUTOR = #
POC_PROJECT_ZIPEXTRA = #
CC = pocc.exe#
AS = poasm.exe#
RC = porc.exe#
LINK = polink.exe#
SIGN = posign.exe#
CCFLAGS = -std:C11 -Tx86-coff -Ot -Ob1 -fp:precise -W0 -Gd -Zx -Go#
ASFLAGS = -AIA32#
RCFLAGS = -r#
LINKFLAGS = -machine:x86 -subsystem:console kernel32.lib advapi32.lib delayimp.lib#
SIGNFLAGS = -location:CU -store:MY -timeurl:http://timestamp.verisign.com/scripts/timstamp.dll -errkill#
INCLUDE = $(PellesCDir)\Include\Win;$(PellesCDir)\Include#
LIB = $(PellesCDir)\Lib\Win;$(PellesCDir)\Lib#
#
# Build c02.exe.
#
c02.exe: \
output\c02.obj \
output\asm.obj \
output\common.obj \
output\cond.obj \
output\expr.obj \
output\files.obj \
output\include.obj \
output\label.obj \
output\parse.obj \
output\stmnt.obj \
output\vars.obj
$(LINK) $(LINKFLAGS) -out:"$@" $**
#
# Build c02.obj.
#
output\c02.obj: \
c02.c \
asm.h \
common.h \
cond.h \
expr.h \
files.h \
include.h \
label.h \
parse.h \
stmnt.h \
vars.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build asm.obj.
#
output\asm.obj: \
asm.c \
asm.h \
common.h \
files.h \
parse.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build common.obj.
#
output\common.obj: \
common.c \
common.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build cond.obj.
#
output\cond.obj: \
cond.c \
asm.h \
common.h \
cond.h \
expr.h \
label.h \
parse.h \
vars.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build expr.obj.
#
output\expr.obj: \
expr.c \
asm.h \
common.h \
expr.h \
label.h \
parse.h \
vars.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build files.obj.
#
output\files.obj: \
files.c \
common.h \
files.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build include.obj.
#
output\include.obj: \
include.c \
asm.h \
common.h \
files.h \
include.h \
parse.h \
vars.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build label.obj.
#
output\label.obj: \
label.c \
asm.h \
common.h \
label.h \
parse.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build parse.obj.
#
output\parse.obj: \
parse.c \
common.h \
files.h \
parse.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build stmnt.obj.
#
output\stmnt.obj: \
stmnt.c \
asm.h \
common.h \
expr.h \
label.h \
parse.h \
stmnt.h \
vars.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
#
# Build vars.obj.
#
output\vars.obj: \
vars.c \
asm.h \
common.h \
files.h \
label.h \
parse.h \
vars.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"
.EXCLUDEDFILES:
.SILENT:
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings version="1.0">
<category name="expr.h" />
<category name="cond.h" />
<category name="asm.h" />
<category name="c02.c" />
<category name="stmnt.c">
<category name="Window">
<property name="Left" type="integer">-8</property>
<property name="Top" type="integer">-31</property>
<property name="Right" type="integer">952</property>
<property name="Bottom" type="integer">422</property>
<property name="Maximized" type="integer">1</property>
<property name="Active" type="integer">1</property>
</category>
</category>
<category name="asm.c" />
<category name="vars.c" />
<category name="parse.c">
<category name="Window">
<property name="Left" type="integer">52</property>
<property name="Top" type="integer">52</property>
<property name="Right" type="integer">760</property>
<property name="Bottom" type="integer">362</property>
<property name="Maximized" type="integer">0</property>
<property name="Active" type="integer">0</property>
</category>
</category>
<category name="include.c" />
<category name="expr.c">
<category name="Window">
<property name="Left" type="integer">78</property>
<property name="Top" type="integer">78</property>
<property name="Right" type="integer">786</property>
<property name="Bottom" type="integer">388</property>
<property name="Maximized" type="integer">0</property>
<property name="Active" type="integer">0</property>
</category>
</category>
<category name="parse.h" />
<category name="common.h" />
<category name="files.c" />
</settings>
+42
View File
@@ -0,0 +1,42 @@
Program Srec2asc;
{ SREC2ASC - Convert Motorola S-Record file to }
{ POM 1 ASCII File }
{ (C) 2017 - Curtis F Kaylor }
Uses
SysUtils, StrUtils;
Const
SrecExt = '.srec';
AscExt = '.asc';
Var
SrecFile: TextFile; {Input File}
AscFile: TextFile; {Output File}
Procedure OpenSrecFile;
Var
LastDot, LastSlash: Integer;
OpenResult: Integer;
Begin
SrecFileName := ParamStr(1);
LastDot := RPos('.', SrecFileName);
LastSlash := RPos('/', SrecFileName);
If LastDot <= LastSlash Then
SrecFileName := SrecFileName + SrecExt;
If Debug Then WriteLn('Opening File ', SrecFileName);
Assign(SrecFile, SrecFileName);
{$I-}
Reset(SrecFile);
OpenResult := IOResult;
{$I+}
If OpenResult <> 0 Then
Error('Error Opening Input File ' + SrecFileName);
End;
Begin
End;
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/python
#Print Atari 2600 Timer Values
#Value to Write to TIM64T to wait desired number of scanlines
for scanlines in range(0,262):
print scanlines, "\t", scanlines*72/64, "\t", scanlines*72.0/64
View File
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.