Skip to content

everslick/push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

push

The Petite Un*x Shell.

push-c64

About

push is a very small, yet feature rich shell for embedded systems. It is built on top of a stripped down version of the linenoise line editing library.

push thus inherits TAB completion, history and hints (suggestions at the right of the prompt as you type) while providiing rich line editing features like cursor movment, inserting text at the current cursor position, jumping to the first (HOME) or last (END) position of the input buffer, deleting the last word and more.

Platforms

push is intended to be cross platform. Currently it builds on GNU/Linux (gcc) for easy testing and development, and can be cross compiled for:

While it builds successfully for all those target platforms, it is only really working well on Linux and C64 (and most recently on ZX-Spectrum). The main reason is lacking/broken support for some features from the C runtime libraries on some platforms, most important CONIO and heap management. Hopefully over time the toolchains will provide those APIs.

Disclaimer

Please keep in mind, that push, at its current state, is an experiment (proof-of-concept) and not of much practical use. Nevertheless it is fun to see the test command do its work, so give it a shot.

Compilation

You need the toolchain you want to build with installed parallel to the push source like this:

cc65/  kickc/  push/  z88dk/

The Makefile in ./push/src contains various targets for compiling and testing:

  • make (build linux binary)
  • make c64 (build C64 prg)
  • make m65 (build MEGA65 prg)
  • make zx (build zx spectrum tap)
  • make zx64 (build zx spectrum tap with 64 columns)
  • make zxn (build spectrum next tap)
  • make c64emu (start prg in vice)
  • make m65emu (start prg in xemu)
  • make zxemu (start tap in zesarux)
  • make zx64emu (start 64 columns tap in zesarux)

Screenshots

C64

C64-1 C64-2 C64-4

Linux

push-linux

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

About

Petite Un*x Shell for Embedded Systems

Resources

Stars

Watchers

Forks

Packages

No packages published