Skip to content

Commit

Permalink
TI-83 CE version
Browse files Browse the repository at this point in the history
  • Loading branch information
gameblabla committed Mar 31, 2023
1 parent bb04226 commit c2332b4
Show file tree
Hide file tree
Showing 14 changed files with 536 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,20 @@ so it was easy to get something to work. Not a bad version i would say.

[Download Oric version](https://github.com/gameblabla/copyright_infringement_ports/releases/tag/1.0-ORIC)


TI-83 CE
==================
![](https://github.com/gameblabla/copyright_infringement_ports/raw/simp/img/ti83ce.jpg)

I found one by sheer luck for really cheap (15€) instead of the usual expensive prices so thought that would be an opportunity.
The C toolchain for it is really nice and uses Clang as the new backend (previously it was using a proprietary solution but that's now largely fixed).
ZX0/ZX7 are also directly integrated so that saved me some time.
The only issue was the size for archive files was small. It's possible i believe to go beyond the 65k limit by having several ones
but i only learned of this much later...
In any case, i didn't want this game to be too big so i stuck with 64kb and instead upscaled the 160x100 frames to 320x200 in short of a nasty way.
It works fine though, since this is decently powerful.

I implemented highscore saving (this is based upon the Oric version) but it seems not to work reliably so unsure...
It's still there in any case.

[Download TI83CE version](https://github.com/gameblabla/copyright_infringement_ports/releases/tag/1.0-TI83CE)
9 changes: 9 additions & 0 deletions TI83CE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
obj/
bin/
src/gfx/*.c
src/gfx/*.h
src/gfx/*.8xv
.DS_Store
convimg.out
*.8xv
*.8xp
37 changes: 37 additions & 0 deletions TI83CE/autotest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"transfer_files":
[
"bin/DEMO.8xp",
"src/gfx/vargfx.8xv"
],
"target":
{
"name": "DEMO",
"isASM": true
},
"sequence":
[
"action|launch",
"delay|500",
"hashWait|1",
"key|enter",
"hashWait|2"
],
"hashes":
{
"1":
{
"description": "Test tilemap fullscreen image display",
"start": "vram_start",
"size": "vram_8_size",
"expected_CRCs": [ "94A5E1D6" ]
},
"2":
{
"description": "Test program exit",
"start": "vram_start",
"size": "vram_16_size",
"expected_CRCs": [ "FFAF89BA", "101734A5", "9DA19F44", "A32840C8", "349F4775" ]
}
}
}
Binary file added TI83CE/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions TI83CE/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ----------------------------
# Makefile Options
# ----------------------------

NAME = CIRIGHT
ICON = icon.png
DESCRIPTION = "Gay game"
COMPRESSED = NO
ARCHIVED = YES

CFLAGS = -Wall -Wextra -Oz
CXXFLAGS = -Wall -Wextra -Oz

# ----------------------------

include $(shell cedev-config --makefile)
16 changes: 16 additions & 0 deletions TI83CE/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### CopyRight Infringement Regressive Right for TI 83 CE

This is a port of my smallish game for the TI 83CE.
It's a decent port all things considered but i didn't put too much effort into it.
Internal resolution for the frames are 160x100 which are then scaled up to 320x200,
on top of being ZX0 compressed.
Thankfully the eZ80 inside has plenty of horse power to do stuff like that.
Also other lower end Z80 machines would be too slow for ZX0 in real time whereas
this is quite capable indeed.
So much in fact that ZX1 is not even provided in the toolchain, only ZX7 and ZX0.

# Usage

Make sure to transfer vargci.8xv (as an archive, it should do so automatically) and CIRIGHT.8xp.
Once that's done, unarchive the game CIRIGHT.8xp either from the memory screen (2nd + Mem)
or using 2nd+Catalog and then use the UnArchiv command.
Binary file added TI83CE/src/gfx/bakura.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions TI83CE/src/gfx/convimg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
palettes:
- name: global_palette
fixed-entries:
- color: {index: 0, r: 0, g: 0, b: 0}
- color: {index: 1, r: 255, g: 255, b: 255}
images: automatic

converts:
- name: yami
palette: global_palette
compress: zx0
transparent-color-index: 0
images:
- yami.png
- name: frame1
palette: global_palette
compress: zx0
transparent-color-index: 0
images:
- frame1.png
- name: frame2
palette: global_palette
compress: zx0
transparent-color-index: 0
images:
- frame2.png
- name: frame3
palette: global_palette
compress: zx0
transparent-color-index: 0
images:
- frame3.png
- name: frame4
palette: global_palette
compress: zx0
transparent-color-index: 0
images:
- frame4.png
- name: frame5
palette: global_palette
compress: zx0
transparent-color-index: 0
images:
- frame5.png

outputs:
- type: appvar
name: vargci
source-format: c
include-file: vargci.h
header-string: STRING
palettes:
- global_palette
converts:
- frame1
- frame2
- frame3
- frame4
- frame5
- yami
3 changes: 3 additions & 0 deletions TI83CE/src/gfx/convimg.yaml.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vargci.h
vargci.c
vargci.8xv
Binary file added TI83CE/src/gfx/frame1.png.zip
Binary file not shown.
Binary file added TI83CE/src/gfx/title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TI83CE/src/gfx/yami.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c2332b4

Please sign in to comment.