Re:Commander Keen source code released
by readerrrr on Tuesday September 16, 2014 @06:59PM
(#8327580)
I wonder what that actually did.
For the confused. The piracy.h and those two lines were removed.
Looks like piracy.h just contained a reference to a static blob (PIRACY) describing an 80x25x16 text mode screen. movedata copies it directly to the VGA screen base address (0xb800).
Since VGA text mode used one byte to select the character (from a font of 256 entries), and one byte to describe the character's attributes (16 colors aka 4 bits, bold, strikeout, reverse), the resulting buffer for an 80x25 display was 80x25x2 bytes, aka. 4000
When that's done, it waits for the user to acknowledge the anti-piracy message by pressing enter.
This is basically the early 90s equivalent of the "you wouldn't download a car" advert
Re:Commander Keen source code released
by jason_slack on Tuesday September 16, 2014 @07:03PM
(#8327593)
I thought that #if 0 doesn't get compiled and therefore definitely not executed. Can you explain more about your comment? I'm confused.
Edit: Corrected "not"
[deleted]
Re:Commander Keen source code released
by jason_slack on Tuesday September 16, 2014 @07:08PM
(#8327612)
right, so what was "bleeding-edge" as the poster stated above?
Re:Commander Keen source code released
by escaped_hn on Tuesday September 16, 2014 @07:13PM
(#8327630)
I think the OP forgot the /s at the end of his comment.
Re:Commander Keen source code released
by jason_slack on Tuesday September 16, 2014 @07:16PM
(#8327639)
Ah, sarcasm, because the piracy stuff is wrapped in an #if 0
https://github.com/keendreams/keen/blob/master/kd_main.c#L39...