This follows the tutorial found in the c65 documentation overview to print hello world on the screen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stripped version of cc65/samples/Makefile for simple tgi project | |
SYS = c64 | |
ifdef CC65_HOME | |
AS = $(CC65_HOME)/bin/ca65 | |
CC = $(CC65_HOME)/bin/cc65 | |
CL = $(CC65_HOME)/bin/cl65 | |
LD = $(CC65_HOME)/bin/ld65 | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stripped version of cc65/samples/Makefile for simple tgi project | |
SYS = c64 | |
ifdef CC65_HOME | |
AS = $(CC65_HOME)/bin/ca65 | |
CC = $(CC65_HOME)/bin/cc65 | |
CL = $(CC65_HOME)/bin/cl65 | |
LD = $(CC65_HOME)/bin/ld65 | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SOURCES = example.c | |
PROGRAM = example | |
ifdef CC65_TARGET | |
CC = cl65 | |
CFLAGS = -t $(CC65_TARGET) -O --create-dep $(<:.c=.d) | |
LDFLAGS = -t $(CC65_TARGET) -m $(PROGRAM).map | |
else | |
CC = gcc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.14 | |
# Set up GiteaPC | |
## Install GiteaPC dependencies | |
RUN apk add --no-cache gcc curl git python3 make pkgconf | |
## Needs to use bash and yes | |
RUN apk add --no-cache bash | |
## Install GiteaPC and accept the path added | |
RUN curl "https://gitea.planet-casio.com/Lephenixnoir/GiteaPC/raw/branch/master/install.sh" -o /tmp/giteapc-install.sh | |
RUN yes | bash /tmp/giteapc-install.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools | |
import pathlib | |
import re | |
import sys | |
from collections import defaultdict | |
from typing import List | |
import requests | |
from tqdm import tqdm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from typing import cast | |
from lorem_text import lorem | |
from PySide6 import QtCore | |
from PySide6.QtCore import QSize, Qt, QPoint, QEvent, QPropertyAnimation, QEasingCurve, QObject | |
from PySide6.QtGui import QHelpEvent, QPalette, QKeyEvent, QMouseEvent, QScreen, QGuiApplication | |
from PySide6.QtWidgets import QApplication, QMainWindow, QPushButton, QScrollArea, QWidget, QVBoxLayout, QLabel, QGraphicsOpacityEffect, QToolTip, \ | |
QFrame |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import urllib.parse | |
import zipfile | |
from pathlib import Path | |
import logging | |
import requests | |
from bs4 import BeautifulSoup | |
from clint.textui import progress | |
NewerOlder