Giter Site home page Giter Site logo

frenkels / keensource456tandy Goto Github PK

View Code? Open in Web Editor NEW
19.0 5.0 1.0 651 KB

Commander Keen 4 Tandy 320x200 16 color source code port

License: GNU General Public License v2.0

C 88.32% Assembly 11.59% Batchfile 0.09%
commander-keen tandy ms-dos

keensource456tandy's Introduction

Commander Keen 4 Tandy 320x200 16 color source code port

Commander Keen 4 Tandy 320x200 16 color source code port

Download the game here.

This is a Tandy 320x200 16 color version of Commander Keen 4. It includes Tandy music. There's also a version for MCGA with smooth palette fading. And EGA and CGA versions that feature the same Tandy music. The EGA version also has smooth palette fading when a VGA card is detected.

If the graphics get corrupted in the Tandy version while playing one or two levels, like in this video, you don't have enough video memory allocated. This version of the game needs 32k of video memory. The amount of video memory can be changed in the BIOS. It can also be altered by using ADJMEM. Before running KEEN4T.EXE, run ADJMEM -16 to increase the amount of video memory by 16k. There's always at least 16k of video memory allocated, so increasing it by 16k gives you the required amount of 32k of video memory.

The score box is disabled by default. The game runs faster this way. Pressing Backspace enables the score box.

If you can create executables that are byte for byte 100% identical to the Keen 4 v1.4 EGA and CGA executables with K1n9_Duk3's reconstructed Commander Keen 4-6 source code, you can probably also compile this code.

Special Thanks

  • id Software for creating Commander Keen.

  • K1n9_Duk3 for reconstructing the original Keen 4-6 source code.

  • Einar Saukas and Emmanuel Marty for ZX0. I had to replace the original Huffman compression with something that produces smaller files, otherwise the game wouldn't fit on a 720 kB floppy disk.

  • ModdingWiki for information about the Commander Keen file formats.

keensource456tandy's People

Contributors

frenkels avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

net-lisias-keen

keensource456tandy's Issues

Add video memory amount check

"If the graphics are corrupted, you probably need to run ADJMEM -16 before running this game."

Add a check to see if this is necessary.

Help screen is corrupted

In the first level, walk a little bit to the left and look up. Now, press F1 and the help screen will be corrupted:

Screenshot from 2022-10-02 22-31-49

Add Star Wars opening crawl

The EGA version tells it's story like a Star Wars opening crawl.
The CGA version doesn't have this, and therefore the Tandy version also lacks this feature.

Add Terminator opening

The EGA version begins with an opening that looks like the Terminator opening.
The CGA version doesn't have this, and therefore the Tandy version also lacks this feature.

Demo crashes with "MM_GetPtr: Out of memory!" in PCem

The demo crashes in PCem with "MM_GetPtr: Out of memory!" after the first level, just before the credits screen.
But it does work when just before the end of the demo you go to the main menu and then return to the demo.

Toggle score box with Backspace

The game runs faster when the score box is disabled.
In Bio Menace you can toggle the score box by pressing Backspace.
Let's copy that functionality.

Add Fade in / Fade out

The EGA version fades in and out when entering a level.
The CGA version doesn't have this, and therefore the Tandy version also lacks this feature.

Tiles are corrupted if you don't have 768 KB of RAM

Go to the bottom of level 1 Border Village, the acid pool tiles are corrupted if you run in on a Tandy with less than 768 KB of RAM.

Is it because of this?
"Another nasty thing was IBM's way of saving money: whenever you go into an extended graphics mode, it borrows RAM from the top of the free DOS heap -- your available DOS memory actually decreases by as much as 32K. Just make sure you don't have anything in that area before you initialize graphics mode... ;-)"
http://www.oldskool.org/shrines/pcjr_tandy

Demo is out of sync

The demo is out of sync. This is probably caused by the fact that the screen is smaller. But that doesn't mean the window with active actors should also be smaller.

Add status bar

We can't draw the whole 320x200 screen with Commander Keen gameplay action without rewriting the whole engine. Instead use the space that's left on screen with a new status bar containing the same information as the score box and/or the status window.

Clarify formatting of new lines?

I got unexpected compilation errors, until I converted newlines to CR+LF. The files in the git repository seem to use LF format. Maybe this should be documented in the readme, if the repository itself isn't updated accordingly.

MCGA 16 color

It's easy to create a 16 color MCGA version, but is there any demand for it?

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.