Skip to content

berk76/piskworks

Repository files navigation

Piskworks

build

Piskworks is a simple desk game known as gomoku.

Supported platforms

UNIX, Linux, MS Windows console:

  1. download project git clone https://github.com/berk76/piskworks Piskworks
  2. go into project directory cd Piskworks
  3. run make -f Makefile.gcc pisk_con
  4. find and run pisk_con.exe

Linux.PNG

DOS

  1. download and install Turbo C from http://edn.embarcadero.com/article/20841
  2. download project git clone https://github.com/berk76/piskworks Piskworks
  3. go into Piskworks/src directory
  4. run make -fMakefile.tc
  5. find and run main_con.exe

ZX Spectrum

  1. download and install Z88DK c compiler from http://www.z88dk.org
  2. download project git clone https://github.com/berk76/piskworks Piskworks
  3. go into project directory cd Piskworks
  4. run make -f Makefile.z88dk pisk_zx
  5. find and load pisk_zx.tap

ZX81

  1. download and install Z88DK c compiler from http://www.z88dk.org
  2. download project git clone https://github.com/berk76/piskworks Piskworks
  3. go into project directory cd Piskworks
  4. run make -f Makefile.z88dk pisk_81
  5. find and load pisk_81.P

If you want to make autorun

  1. load pisk_81.P in EightyOne emulator
  2. add following lines:
    1. 9990 SAVE "PISKWORKS"
    2. 9995 GOTO 0
  3. type and run command RUN 9990
  4. open Tools/Tape Manager...
  5. delete the first entry
  6. push save button

ZX81.PNG

ZX80

  1. download and install Z88DK c compiler from http://www.z88dk.org
  2. download project git clone https://github.com/berk76/piskworks Piskworks
  3. go into project directory cd Piskworks
  4. run make -f Makefile.z88dk pisk_80
  5. find and load pisk_80.O

APPLE 1 (replica 1)

  1. install c compiler according to this article: http://jefftranter.blogspot.cz/2012/04/c-programming-tutorial-with-cc65-on.html
  2. download project git clone https://github.com/berk76/piskworks Piskworks
  3. go into Piskworks/src directory
  4. run make -f Makefile.app
  5. run bintomon -v -f pisk_app > pisk_app.mon

AS400

  1. download project git clone https://github.com/berk76/piskworks Piskworks
  2. go to src directory cd src
  3. run ./crtgom.sh - it will produce source file for as400 qcsrc.gom
  4. get into as400 and create your personal library if you dont have one yet crtlib mylib
  5. setup your private library as default library chgprf curlib(mylib)
  6. create new file QCSRC crtsrcpf mylib/qcsrc
  7. copy new member GOM (from src/qcsrc.gom) into QCSRC file using FTP client.
  8. you can see and modify source code in SEU editor strseu srcfile(QCSRC) srcmbr(GOM)
  9. compile program using crtbndc command crtbndc pgm(GOM) output(*PRINT)
  10. finally you can run program call GOM

AS400.PNG

MS Windows

  1. download and install MinGw from http://www.mingw.org/
  2. download project git clone https://github.com/berk76/piskworks Piskworks
  3. go into project directory cd Piskworks
  4. run make -f Makefile.gcc pisk_w32
  5. find and run pisk_w32.exe

WIN32.PNG