Welcome, Guest. Please login or register.

Author Topic: Deluxe Paint 1 source code released  (Read 16905 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Gilloo

  • Full Member
  • ***
  • Join Date: Apr 2006
  • Posts: 124
    • Show all replies
Re: Deluxe Paint 1 source code released
« on: July 28, 2015, 11:02:21 AM »
@olsen great ! I do the same with SASC6.0 and V51 includes

1) I wonder if the missing LFMULT function is not like that : (lfmult.c file)

typedef long LongFrac ;

LongFrac LFMULT(LongFrac a, LongFrac b)
{
  return (a * b) >> 16 ;
}

2) Don't forget that the original DPaint program is overlayed... so the makefile should contain the OVERLAY keyword, a # and stars somewhere ;)

3) to try the different resolutions, just launch prism with arguments
prism l => 320x200 (default)
prism m => 640x200
prism h => 640x400 (stack overflow when tracing big lines...)

enjoy this 30 years old stuff !