alt.tvShow header Prev. Next
7th-Heaven Episode. Mack wants to save Windows! http://groups.google.com
ericmatteson2003november (ericmatteson2003november@hotmail.com) 2008/05/29 13:06

Episode 7th Heaven   May 29, 2008
Written by Eric Matteson
Copyright C 2008 by Eric Matteson.
Permission is granted to copy the
plain text version of this script
and to publish it on the Internet.
 ( 7th Heaven theme music Dong Dong.... )
(Scene 1 Glenoak communnity college
Speech class. Mack is giving a speech ....)
MACK
 The c language GDI graphics pixel
based WIN32 Applications Programming
Interface is the best graphics pixel
interface ever developed.
 The most important graphics drawing
function is SetDIBitsToDevice.
( Then Mack points to the visual aid
 for his visual aid speech. )
....
 void SetDIBitsToDevice(HDC windname,
      int xDestUL, int yDestUL,
     DWORD width, DWORD height,
     int zeroxsrc, int zeroysrc, UINT zerostartscan,
     UINT SAMEASheight,
     VOID* dataBitswithinbytes,
     BITMAPINFO* parameteratFOURTEEN
     UINT zerotoUSE );
// dataBitswithinbytes is at offset 62 for monochome
// at 8 pixels per byte. Each line is a multiple of four
// bytes wide and the picture is upside down.
// parameterFOURTEEN is at offset 14 in the bitmap.
// The bitmap in memory is in a character array of bytes.
// width and height have to be the same as the bitmap
// and things that start with zero in the name are
// always 0
// There are twelve arguments in SetDIBitsToDevice.
JIMMY
 What is in the bitmap that has the offsets of 14
and 62 ??
( Mack then puts up his second visual aid )
MACK
bitmap header
00  2  cst19778
02 12  skipped
14  4  unused     14 is offset of BITMAPINFO*
18  4  biWidth    width of bitmap in pixels
22  4  biHeight
26  2  one
28  2  biBITCOUNT  {1,4,8,24}  1 for monochrome
30  4  zeroifuncompressed ( always 0 )
34 12  skipper
46  4  biclrused  0 or number of colors used when biBITCOUNT == 8 or 0
50  4   skip
54  8if monochrome  colortable 00 00 00 00 255 255 255 00
62  monochrome bitmap lines rounded to next DWORD (UPSIDE DOWN
picture).
JIMMY
 What good is a upside down picture displayer ?
MACK
You put the picture in upside down so it displays upside up.
If you use 4 bits per pixel the color table is 64 bytes
instead of 8 and the dataBitswithinbytes starts at 118
instead of 62.
(End of scene 1)
Scene 2  at lunch table
JIMMY
Mack, how come you are carrying on about Windows
programming ??
MACK
In an earlier Star Wars movie Zack Morris allowed Mikey
Gonzales to smuggle some information to Luke Skywalker
about the Linux vga.h easy graphics pixel c programming
interface. Luke Skywalker was supposed to then help
Microsoft develop its own vga.h for c programming.
 I want to play the part of Luke Skywalker in that
proposed movie
 Help Luke Skywalker Save Windows.
JIMMY
Here at Glenoak communnity college it looks like
Microsoft Windows is unsavable.
There is no more Microsoft C++ compiler in CE 101 or CE 103
computers.
 All 50 states still have mandatory jury duty that takes skilled
workers away from companies so skilled work is not done
correctly and Windows does not work after Windows 98 SE.
MACK
 I want to play the part of Luke Skywalker in the movie.
What has to be done ??
JIMMY
Pass an all volunteer jury system in the state of Washington
so Microsoft employees can FIX WINDOWS instead of serve
on juries.
 Microsoft needs to reinstate an easy to install and use
C++ compiler .
 Microsoft needs to abolish privacy invading Windows activation
and abolish temporary Windows!!!!!!!!
....
 Microsoft needs to fix the Notepad so that the number
of the line I am currently at is displayed. Linux Gedit
shows the current line number at the bottom to make
it easier to find and fix mistakes reported by compilers
at specific line numbers.
 Adding displaying of current line number to
the Notepad will make it easier to fix mistakes
in Javascript that were reported by line number.
MACK
 Then can I be in the movie?
JIMMY
 Californias 109 community colleges including Glenoak
Community College need to install the c++ compiler
for Windows even though it is hard to install and keep
the computer science lab in CE 101 open full time
8:00 A.M. to 10:00 P.M. Mon-Thur
 and offer all five c++ programming
classes instead of only one or two and keep the mens
restrooms open until 11:00 P.M. instead of only 8:30 P.M.
and stop running over students  with motor vehicles
outside of the street. Spend money on additional
outdoor lighting instead of gasoline. Keep all vehicles
in the streets and parking lots including golf carts.
 Reinstate Physics 37 and advanced math Math 262 and
higher.
 Provide genuine paper TEXTBOOKS for every course
instead of asking students to buy NON-WORKING
training CDs!
MACK
 Then can I get the part of Luke Skywalker in
Help Luke Skywalker save Windows movie ??
JIMMY
There will be a lot of competition. Will Microsoft still
be in business when a voluntary jury system is finally
passed ?
 Windows depends on Microsoft for its existance.
If there are several different versions of that movie
more than one Luke Skywalker might be needed so the
chances of passing an audition then are greatly increased.
MACK
 We could start asking petition circulators for the
all volunteer jury petition. Tell each petition
circulator that you want to sign the all volunteer
jury petition before signing any other petition!
JIMMY
 I do not want to sign any other petition until
after I sign the petition for the All Volunteer
Jury ballot initiative!!
-----------------
 Link to *.bmp file displayer in c for Microsoft Windows
dfrview0.c (display in monochrome)
http://groups.google.com/group/comp.emulators.ms-windows.wine/msg/733eedeec1be41c2?dmode=source&hl=en&


 Link to previous episode of Everybody Hates Chris ( California Budget
2008 ).
http://groups.google.com/group/alt.tv/msg/c8f972ca8105bc45



Written by Eric Matteson

Next Prev. Article List         Favorite