2007 layout

February 2009 for some time the display was corrupted if I attempted to run the software on my widescreen laptop. After some investigation I found that the graph-unit of Free Pascal had problems writing lines at at angle at certain sectors of the screen. When the window was resized the missing lines would appear out of nowhere. Straight lines and solid bars could be drawn anywhere without problems. Also the procedure outtextxy() could write characters everywhere on the screen as opposed to putting single pixels there. In the end I wrote a new procedure drawing lines at an angle of 0, 45 or 90 degrees by writing a succession of smal dot characters. The new procedure is significantly slower than the old one, so an extra feature was added updating only those parts of the screen where changes have been made since last write.

dsc_0015.jpg 60704 bytes dsc_0018.jpg
          72910 bytes dsc_0020.jpg 67120 bytes dsc_0021.jpg 68308 bytes dsc_0022.jpg 77548 bytes esc_0001.jpg 88313 bytes esc_0002.jpg 92262 bytes esc_0004.jpg 81283 bytes esc_0069.jpg 67168 bytes esc_0070.jpg 80659 bytes esc_0071.jpg 81210 bytes esc_0074.jpg 72874 bytes esc_0075.jpg 58961 bytes esc_0076.jpg 94402 bytes esc_0077.jpg 83427 bytes stedbetj.jpg 83423 bytes

July 2008: I added a box to give local control of the points at one of the stations. The box is locked until it is released by the signalman in the control centre. The shunting staff will the set the points locally for their shunting movements. When shunting is complete the shunting staff must telephone the signalman, who will restore the box to it's normal ie locked position.

December 18th the catenary reached track 1 of the other terminus. By new year all tracks had caternary but two, which were completed just before Easter 2008.

The layout is now completed as such. Buildings and scenery will be added during the summer. I will glue the new houses in the garden avoiding the toxic fumes.

I want to repeat I never mix 16 kV and 25 kV locomotives on the layout at the same time. Tho photographs are recorded at different occations.

I would like to mention only the signals and points (switches) are computer controlled. The locomotives are controlled manually with an array of control 80 and 80f's.

I am writing the software in Free Pascal and it should compile into Linux or Windows. The current version of Linux does not support libvga making the program windows-only.

Track sections, points and routes are edited in 3 text-files read by the programme.

I've put all my sourcefiles on my homepage for 2 very good reasons :

ctc.jpg 72803 bytes
../index.html Märklin 20080328 13:18 size 2520
aspekter.txt Text file 20080721 10:25 size 754
m.pas RFC 4.2 ny grafik 20090204 17:15 size 27448
m_errmsg.pas Runtime error messages 20070210 15:12 size 2030
segment.txt Text file 20071217 14:49 size 2882
spsk.txt Text file 20080801 21:41 size 819
tal.pp Free Pascal source file 20071217 14:20 size 1486
togveje.txt Text file 20080805 21:36 size 27427

Pictlinx ver 3.1 with slideshow - www.hjelmenet.dk/software - 20090305 00:36