UK101 - Games

classic non-acorn hardware, software & languages
Post Reply
User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

UK101 - Games

Post by b_b_c_m_i_c_r_o_2 » Sat May 11, 2013 10:02 am

Hi, here are some UK101 programs written in BASIC.

I wonder if the emulator is missing something as three of the programs are not formatting the text correctly with the graphics.
Attachments
TOWER.png
TOWER.png (6.13 KiB) Viewed 1211 times
TOWER.zip
(714 Bytes) Downloaded 117 times
GRAPH.png
GRAPH.png (6.18 KiB) Viewed 1211 times
GRAPH.zip
(1.67 KiB) Downloaded 97 times
MAZE_2D.png
MAZE_2D.png (7.05 KiB) Viewed 1211 times
MAZE2D.zip
(2.09 KiB) Downloaded 102 times
MAZE_3D.png
MAZE_3D.png (7.46 KiB) Viewed 1211 times
MAZE3D.zip
(1.49 KiB) Downloaded 123 times

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: UK101 - Games

Post by b_b_c_m_i_c_r_o_2 » Sat May 11, 2013 10:07 am

Here is the listing for the 3D maze:

*Edit - I have abridged this extract (gives you an idea of UK101 BASIC)

Code: Select all

 3 REM - SET FULL SCREEN WIDTH
 4 POKE 546,47
 5 GOTO 900
 10 Y=PEEK(TC-U):Z=PEEK(TC-U+LL):IF ABS(U)=1 OR DC=0 THEN30
 20 IF Y=32ANDZ=32 THEN FOR A=TC-U+LL TO BC-V-LL STEP LL:POKE A,W3:NEXT
 30 POKE TC,TW:POKE BC,BW:B=B+1:IF B<DW THEN TC=TC+U:BC=BC+V:GOTO 30
 40 IF ABS(U)=1 THEN POKE TC,T1:POKE BC,B1
 50 IF TC=BC-LL THEN RETURN
 60 FOR B=TC+LL TO BC-LL STEP LL:POKE B,SW:NEXT:RETURN

 ...

 680 GOSUB 3000:RETURN

 890 REM - INITIALISE
 900 GOSUB 2000:PRINT"YOU HIDE IN AN ALIEN MAZE TO ESCAPE ENEMIES."
 910 PRINT"FIND THE EXIT BEFORE YOUR AIR RUNS OUT."
 920 PRINT:PRINT
 930 PRINT"YOU CAN MAKE THE FOLLOWING MOVES:-"
 940 PRINT
 942 PRINT"    M    MOVE ONE STEP FORWARDS":PRINT
 943 PRINT"    R    TURN RIGHT":PRINT
 944 PRINT"    L    TURN LEFT":PRINT
 945 PRINT"    O    TURN IN THE OPPOSITE DIRECTION":PRINT
 946 PRINT"   COMPUTING PLEASE WAIT";

 950 TL=53343:BL=54303:TR=53363:BR=54323:LL=64:DW=2:CD=3

 ...

Last edited by b_b_c_m_i_c_r_o_2 on Sun Jul 21, 2013 4:49 pm, edited 1 time in total.

TopBanana
Posts: 1072
Joined: Wed Jun 09, 2010 3:16 pm
Contact:

Re: UK101 - Games

Post by TopBanana » Sat May 11, 2013 3:59 pm

b_b_c_m_i_c_r_o_2 wrote:Here is the listing for the 3D maze:
Not for the BBC it isn't :shock:

Poke ? :lol:
Peek ? :lol:

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: UK101 - Games

Post by b_b_c_m_i_c_r_o_2 » Sun Jul 21, 2013 4:56 pm

Hi, here is my fulllist of UK101 programs:

1. Galactic Hitchiker
2. Hangman
3. Mastermind
4. Graph Plot
5. Graphics Aid
6. Exmon
7. Games - (Hectic, Taxi, Zombie, Torpedo. Number, Life, Sorts, Wallball, Substrike, Racing)
8. Address book
9. Hex/Diss
10. Maze
11. Space Invaders
12. Super Space Invaders
13. Toolkit I
14. Toolkit II/BASIC 5
15. DOS
16. ASS Extra Commands
17. Symbol Lister
18. New Assembler
19. MC Master/Source Listings
20. BASIC
21. ASS SYM Lister
22. Exmon 2-3
23. ASS/Editor
24. Word Wizard
25. TTY Printer/Diss to Printrt
26. FORTH OS
27. FORTH Extra
28. FORTH Prog (Guessing Forth)

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: UK101 - Games

Post by b_b_c_m_i_c_r_o_2 » Sat Aug 03, 2013 10:24 am

Here is Mastermind, Hangman, and Charset
Attachments
MASTERMIND.png
MASTERMIND.png (7 KiB) Viewed 936 times
Mastermind.zip
(1.86 KiB) Downloaded 112 times
HANGPERSON.png
HANGPERSON.png (6.31 KiB) Viewed 936 times
Hangman.zip
(1.86 KiB) Downloaded 117 times
CHARSET.png
CHARSET.png (7.27 KiB) Viewed 936 times
CHAR.zip
(1.48 KiB) Downloaded 93 times

baldwint
Posts: 14
Joined: Mon Sep 30, 2013 7:31 pm
Contact:

Re: UK101 - Games

Post by baldwint » Thu Nov 14, 2013 8:23 pm

Just seen your post from back in May, with some screenshots taken from my UK101 emulator of games that don't look quite right.

I think this is happening because they have been written assuming the CEGMON monitor is installed not the original UK101 monitor. Sadly there were a few incompatible differences between the two monitor ROMs. The biggest problem was the way the screen was cleared - it as a CHR$(12) in the original monitor, but a CHR$(26) in CEGMON (where CHR$(12) just 'homes' the cursor without clearing the screen).

The clue is always the presence of a sort of 'tall-box-with-a-line-through-it' character. That's what the old monitor prints for CHR$(26). If you grab a copy of the CEGMON monitor (shouldn't be too hard to find with google!) and install it in my emulator, I think you'll find it looks a lot better.

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: UK101 - Games

Post by b_b_c_m_i_c_r_o_2 » Sat Apr 19, 2014 12:00 pm

Hi, here we have Super Invaders...Although this is a version modified to run under Cegmon, not the original version as written by Craig Clapp:

Image

User avatar
b_b_c_m_i_c_r_o_2
Posts: 272
Joined: Sun Jun 25, 2006 11:15 pm
Contact:

Re: UK101 - Games

Post by b_b_c_m_i_c_r_o_2 » Wed May 14, 2014 6:51 pm

3d maze loaded with Cegmon monitor: However, I think this is not the final program, not sure of the author:

Image

Post Reply

Return to “other vintage hardware, software and languages”