Skip to content

Commit

Permalink
The Assembler for the Flip01 CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
pescetti-studio authored Dec 10, 2024
1 parent 5c6d211 commit feecf52
Show file tree
Hide file tree
Showing 17 changed files with 2,984 additions and 0 deletions.
Binary file not shown.
1 change: 1 addition & 0 deletions Flip01_Assembler/AssemblerAssets/ResourcesFlip.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IDI_ICON1 ICON "AssemblerAssets/AssemblerIcon.ico"
61 changes: 61 additions & 0 deletions Flip01_Assembler/AssemblerAssets/startup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
HELP ME I'M STUCK IN THE FREEZER
Ciao
78% bug free
Ultimate edition
Une baguette
Now supports åäöè...or not
Flip01 is Turing complete
This is my final form
Funky
Woah.
Now on Patreon!
Now with multiplayer!
Yes
No
Maybe
Calculating...
42
Nothing interesting
Have fun
Did someone say "pizza"?
"Pizza" is not a supported instruction (yet)
Calculating who asked for it...
#EDDDD4
#197278
#283D3B
#C44536
#772E25
You found the funny secret space
Is it Christmas already?
"Pescetti" means nothing
"Pescetti" has a secret meaning
Do you hear that noise too?
Where am I?
:)
:(
:|
:D
The hex key paradise
Advanced technologies for specific and unique designs
My carpenter could do it better for 30,000 lire
Popcorn
This sentence was written on September 20, 2024, at 5:52
No easter egg
Drink plenty of water
Email [email protected] the word "lasagna"
When will Flip02 be released?
Made by Pescetti with love
My name is Riccardo
Made by humans
We are working on the I/O interface
Allan please add details










545 changes: 545 additions & 0 deletions Flip01_Assembler/Converter.cpp

Large diffs are not rendered by default.

Binary file added Flip01_Assembler/Converter.exe
Binary file not shown.
1,971 changes: 1,971 additions & 0 deletions Flip01_Assembler/Flip01_Assembler.cpp

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Flip01_Assembler/Flip01_Assembler.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[Project]
FileName=Flip01_Assembler.dev
Name=Flip01_Assembler
Type=1
Ver=2
ObjFiles=
Includes=
Libs=
PrivateResource=Flip01_Assembler_private.rc
ResourceIncludes=
MakeIncludes=
Compiler=
CppCompiler=
Linker=
IsCpp=1
Icon=
ExeOutput=
ObjectOutput=
LogOutput=
LogOutputEnabled=0
OverrideOutput=0
OverrideOutputName=Flip01_Assembler.exe
HostApplication=
UseCustomMakefile=0
CustomMakefile=
CommandLine=
Folders=
IncludeVersionInfo=1
SupportXPThemes=0
CompilerSet=0
CompilerSettings=00000000c0000000000000000
UnitCount=2

[VersionInfo]
Major=1
Minor=0
Release=1
Build=83
LanguageID=1033
CharsetID=1252
CompanyName=Pescetti Studio
FileVersion=1.0.1.83
FileDescription=A small assembler for the Flip01 CPU
InternalName=
LegalCopyright=Copyright (c) 2024 Pescetti Studio (Biasolo Riccardo & Croci Lorenzo)
LegalTrademarks=
OriginalFilename=
ProductName=Flip01 Assembler - Pescetti Studio
ProductVersion=1.0.1.83
AutoIncBuildNr=1
SyncProduct=1

[Unit1]
FileName=Flip01_Assembler.cpp
CompileCpp=1
Folder=
Compile=1
Link=1
Priority=1000
OverrideBuildCmd=0
BuildCmd=

[Unit2]
FileName=AssemblerAssets\ResourcesFlip.rc
Folder=Resources
Compile=1
Link=0
Priority=1000
OverrideBuildCmd=0
BuildCmd=

Binary file added Flip01_Assembler/Flip01_Assembler.exe
Binary file not shown.
13 changes: 13 additions & 0 deletions Flip01_Assembler/Flip01_Assembler.layout
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Editors]
Order=0
Focused=0
[Editor_0]
CursorCol=6
CursorRow=782
TopLine=1190
LeftChar=1
[Editor_2]
CursorCol=1
CursorRow=10
TopLine=1
LeftChar=1
Binary file added Flip01_Assembler/Flip01_Assembler.o
Binary file not shown.
23 changes: 23 additions & 0 deletions Flip01_Assembler/Flip01_Assembler_private.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
/* DO NOT EDIT ! */

#ifndef FLIP01_ASSEMBLER_PRIVATE_H
#define FLIP01_ASSEMBLER_PRIVATE_H

/* VERSION DEFINITIONS */
#define VER_STRING "1.0.1.83"
#define VER_MAJOR 1
#define VER_MINOR 0
#define VER_RELEASE 1
#define VER_BUILD 83
#define COMPANY_NAME "Pescetti Studio"
#define FILE_VERSION "1.0.1.83"
#define FILE_DESCRIPTION "A small assembler for the Flip01 CPU"
#define INTERNAL_NAME ""
#define LEGAL_COPYRIGHT "Copyright (c) 2024 Pescetti Studio (Biasolo Riccardo & Croci Lorenzo)"
#define LEGAL_TRADEMARKS ""
#define ORIGINAL_FILENAME ""
#define PRODUCT_NAME "Flip01 Assembler - Pescetti Studio"
#define PRODUCT_VERSION "1.0.1.83"

#endif /*FLIP01_ASSEMBLER_PRIVATE_H*/
35 changes: 35 additions & 0 deletions Flip01_Assembler/Flip01_Assembler_private.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
/* DO NOT EDIT! */

#include <windows.h> // include for version info constants

#include "AssemblerAssets/ResourcesFlip.rc"

//
// TO CHANGE VERSION INFORMATION, EDIT PROJECT OPTIONS...
//
1 VERSIONINFO
FILEVERSION 1,0,1,83
PRODUCTVERSION 1,0,1,83
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
VALUE "CompanyName", "Pescetti Studio"
VALUE "FileVersion", "1.0.1.83"
VALUE "FileDescription", "A small assembler for the Flip01 CPU"
VALUE "InternalName", ""
VALUE "LegalCopyright", "Copyright (c) 2024 Pescetti Studio (Biasolo Riccardo & Croci Lorenzo)"
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", ""
VALUE "ProductName", "Flip01 Assembler - Pescetti Studio"
VALUE "ProductVersion", "1.0.1.83"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409, 1252
}
}
Binary file added Flip01_Assembler/Flip01_Assembler_private.res
Binary file not shown.
21 changes: 21 additions & 0 deletions Flip01_Assembler/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Pescetti Studio (Biasolo Riccardo & Croci Lorenzo)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
33 changes: 33 additions & 0 deletions Flip01_Assembler/Makefile.win
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Project: Flip01_Assembler
# Makefile created by Dev-C++ 5.11

CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES = Flip01_Assembler_private.res
OBJ = Flip01_Assembler.o $(RES)
LINKOBJ = Flip01_Assembler.o $(RES)
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc -lopengl32 -lfreeglut -lglu32 -mwindows -lgdi32 -lcomctl32 -luser32 -lMsftedit
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include"
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++"
BIN = Flip01_Assembler.exe
CXXFLAGS = $(CXXINCS) -std=c++11
CFLAGS = $(INCS) -std=c++11
RM = rm.exe -f

.PHONY: all all-before all-after clean clean-custom

all: all-before $(BIN) all-after

clean: clean-custom
${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)

Flip01_Assembler.o: Flip01_Assembler.cpp
$(CPP) -c Flip01_Assembler.cpp -o Flip01_Assembler.o $(CXXFLAGS)

Flip01_Assembler_private.res: Flip01_Assembler_private.rc AssemblerAssets/ResourcesFlip.rc
$(WINDRES) -i Flip01_Assembler_private.rc --input-format=rc -o Flip01_Assembler_private.res -O coff

Loading

0 comments on commit feecf52

Please sign in to comment.