Giter VIP home page Giter VIP logo

cobalt's Introduction

Cobalt (Rewrite)

Welcome to Cobalt, an ASCII art editor for MS-DOS. This has been completely re-written in C++ using DJGPP.

Compiling

In order to build Cobalt in MS-DOS, DJGPP for MS-DOS is required. Visit https://www.delorie.com/djgpp/ select "Zip Picker" with the following options defined:

  • FTP Site: http://www.delorie.com
  • Build and run programs with DJGPP
  • Operating System: MS-DOS, OpenDOS, PC-DOS
  • On-line documentation: Yes
  • Programming Languages: C, C++
  • IDE: RHIDE
  • GDB: Yes
  • Toolkits: Unix Curses Emulator

Click on the "Tell me which files I need" and follow the instructions.

Once DJGPP has been installed, compile Cobalt:

CD SRC
MAKE

The compiled version of Cobalt will be in the BIN folder.

Editing and Testing

This application was written using Visual Studio Code configured to using the GNU C/C++ tool chain, and compiled and tested in DOSBox version 0.74-3 using DJGPP.

Exporting drawings to ANSI or plain text

While the application is capable of using EOF (end-of-file) or Escape characters and 16 background colors, there is very limited support in the DOSBox implementation of the ANSI.SYS driver; background colors will not add in the intensity and it will replace the EOF/Escape characters with a space. The drawing have not been tested in MS-DOS's nor FreeDOS's ANSI.SYS drivers.

Plain-text files are stripped of all the colors, and that character of the line will be removed so that it can display in the 80x25 console correctly.

cobalt's People

Contributors

jagossel avatar

Stargazers

Tobiasz Stamborski avatar  avatar This is a private repo used to bookmark other repos for further use. avatar Kenny DiBattista avatar

Watchers

 avatar

cobalt's Issues

ALT+ARRORWS does not work in FreeDOS

When trying to change the character set using the ALT+UP or ALT+DOWN keys, it will not change the character set. Consider changing the key combination to change the character set.

To replace the issue:

  1. Press and hold ALT and press either up or down

Expected: Character set to be changed
Actual: Nothing occurs

High intensity on first character not set in ANSI export

When exporting to ANSI, and the first character is a color with high intensity set, the output ANSI does not have it set.

To recreate the issue:

  1. Set the foreground color to 8 or higher
  2. Add any character that will show the color at 1, 1
  3. Set the foreground color to 7 or lower
  4. Add any character that will show the color at 1, 2
  5. Export the image to ANSI format
  6. Exit COBALT
  7. Type the exported ANSI in DOS

Expected: The first character to have its high intensity set
Actual: The first character does not have its high intensity set, appears darker than intended

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.