Commit Graph

29 Commits

Author SHA1 Message Date
StewBC
c08a759404 C64 Graphics and CX16 versions
Made the old C64 version C64.chr and created a new graphical interface version for the C64 and the Commander X16.  Also changed the Oric to be called the atmos since that works better with the build system.
2020-05-25 18:20:37 -07:00
StewBC
78187953ff
Merge pull request #8 from iss000/master
Oric-1/Atmos/Telestrat port
2020-05-15 18:31:40 -07:00
iss
4ebb8172d7 Oric-1/Atmos/Telestrat port 2020-05-16 03:39:46 +03:00
StewBC
c11fed446b Update readme.txt
Added Apple II video link
2020-04-06 14:51:24 -07:00
StewBC
c8363d374d Merge branch 'master' of https://github.com/StewBC/cc65-Chess 2020-02-19 09:01:20 -08:00
StewBC
811089fd7a Added v1.0 releases
Added an Apple II DSK and a C64 PRG to the releases.
2020-02-19 09:01:12 -08:00
StewBC
3e6f1a7821
Merge pull request #7 from oliverschmidt/master
Added a Git ignore file.
2020-02-01 09:38:37 -08:00
Oliver Schmidt
460e6fb440 Added a Git ignore file. 2020-02-01 15:05:16 +01:00
StewBC
f6ebb73e5a
Merge pull request #6 from oliverschmidt/patch-2
Refer to keys consistently with uppercase letters.
2020-01-27 07:12:23 -08:00
Oliver Schmidt
adb988d083
Refer to keys consistently with uppercase letters. 2020-01-27 14:13:17 +01:00
StewBC
5690db10c2 Update readme.txt
Added Undo Redo keys which were missed.
2020-01-26 10:47:20 -08:00
StewBC
1f781a0aaa Update readme.txt
fixed naming of path from command to path
2020-01-20 22:31:05 -08:00
StewBC
19ff3ced56 Update readme.txt
Update to reflect the addition of Makefile-dsk.mk
2020-01-20 22:24:54 -08:00
StewBC
79c3f58374 Added apple2_EMUCMD
Added apple2_EMUCMD to the Makefile
2020-01-20 16:56:21 -08:00
StewBC
e8b0f56b1d make apple2 disk builder Unix compatible
Make the Makefile-dsk.mk work in Windows and Unix (Linux/MacOS)
2020-01-20 16:43:59 -08:00
StewBC
df70999561 Set empty function prototypes to void
for example init() becomes init(void)
2020-01-20 16:42:43 -08:00
StewBC
5f9c5060d4
Merge pull request #5 from oliverschmidt/master
Replaced cmd file with Makefile for creating disk image.
2020-01-20 21:15:09 +01:00
Oliver Schmidt
948eeb0d90 Replaced cmd file with Makefile for creating disk image.
- Only works on Windows
- Requires the variable AC to be set either as env var, on the make cmdline or in the main Makefile
2020-01-20 13:01:34 +01:00
StewBC
171e650a82 Merge branch 'master' of https://github.com/StewBC/cc65-Chess 2020-01-19 09:04:44 -08:00
StewBC
05f0551302 Added Apple II Notes
Added information for the Apple 2 port by Oliver Schmidt.
2020-01-19 09:04:35 -08:00
StewBC
9ef14ee9f1
Merge pull request #4 from oliverschmidt/master
Fixed tile-keys.
2020-01-19 17:57:46 +01:00
Oliver Schmidt
13a5c1e534 Fixed tile-keys. 2020-01-19 17:46:21 +01:00
StewBC
88cbd10a0a
Merge pull request #3 from oliverschmidt/master
Ported the program to the Apple II.
2020-01-19 17:13:06 +01:00
Oliver Schmidt
a87f8ffca0 Ported the program to the Apple II.
Implementation notes:
- General display uses the Apple II hires mode accessed via custom asm functions.
- Menu display uses the 4 line bottom text option of the Apple II hires mode via cc65 CONIO functions.
- All hires access is byte aligned, therefore the horizontal resolution is 40 (bytes).
- Hires access is done via simple (binary) ROPs (raster operations) by using actual 6502 (immediate) opcodes.

The C64 and Curses implementation both make heavy use of colors while Apple II implementation mustn't depend on (but may benefit from) colors. Therefore the user-operated cursor inverts the border of the current field. It's hard to find a compromise between making the cursor visible well and showing the piece "under" the cursor well. Additionally it is desirable to show different cursor states (empty, invalid, valid). The approach chosen is to have different thicknesses of the inverted border:
- Valid: Thin
- Invalid: Medium
- Empty: Thick

When it comes to showing attackers/defenders (via the keys 'a'/'d') there's no alternative to resorting to colors:
- Attackers: Red
- Defenders: Green

So the only field display variant left is the piece selected for moving. Instead of introducing a third type of highlighting (beside border inversion and coloring) it is simply colored Magenta. The reasoning:
- On a monochrome display the user won't have much fun showing attackers/defenders anyway. And without showing those the selected piece is the only colored (aka striped) piece making it clearly visible.
- On a color display a third color (beside attackers/defenders) works just fine.

As the Apple II doesn't have cursor-up and cursor-down keys the keys 'o' and 'l' work as alternatives to the those cursor keys.
2020-01-19 14:18:58 +01:00
StewBC
b0651639d3
Merge pull request #2 from oliverschmidt/master
Allow plat_Highlight() to distinguish between moving a piece and showing attackers/defenders.
2020-01-19 04:35:34 +01:00
Oliver Schmidt
a40cccc921 Allow plat_Highlight() to distinguish between moving a piece and showing attackers/defenders.
Notes:
- The color isn't usable for this distinction as HCOLOR_ATTACK is used for both scenarios.
- This change doesn't make use of the new distinction on the C64. One option would be to use different brackets for the two scenarios.
2020-01-18 20:04:13 +01:00
StewBC
ce8bba2919
Merge pull request #1 from oliverschmidt/patch-1
Adjusted linker configuration.
2020-01-07 07:52:41 +01:00
Oliver Schmidt
35c963e9dc
Adjusted linker configuration.
Unfortunately cc65 linker configurations tend to need adjustments when upgrading to later cc65 versions. With this change the linker config works with cc65 V2.18.
2020-01-02 13:16:03 +01:00
StewBC
82c002891f cc65 Chess V1.0 Initial commit 2014-02-14 16:57:00 +01:00