8414357c98248261c9463e199ac5fa46b70845a3
[uccvend-snackrom.git] / ROM2 / main_basic.c
1 /*
2  * main_basic.c - a simplified main procedure that relies upon a ersver to do
3  * anything smart. Just be a dumb interface to a display, keypad, coin mech
4  * and snacks.
5  */
6
7 #include "version.h"
8 #include "display_basic.h"
9 #include "keypad.h"
10 #include "chime.h"
11 #include "coinmech.h"
12 #include "motors.h"
13 #include "sci.h"
14 #include "vend.h"
15 #include "xmodem.h"
16 #include "mic.h"
17
18 u8 last_standalone;
19 u8 last_switch_input;
20 u8 last_misc_input;
21 u16 last_coin_value;
22 bool last_door_open;
23 char display_buf[11];
24 /* cur_motor[0] is 0 for nothing, or 1..10, or 0xff to say redraw.
25  * cur_motor[1] is 0..9 and only meaningful is cur_motor[0] != 0. */
26 u8 cur_motor[2];
27
28 bool check_standalone() {
29         if (is_standalone()) {
30                 send_string("011 In standalone mode. Function disabled." CRLF);
31                 return 1;
32         }
33         return 0;
34 }
35
36 bool check_badpoke() {
37         if (cant_poke()) {
38                 send_string("099 Can't poke without flipping DIP SW 3." CRLF);
39                 return 1;
40         }
41         return 0;
42 }
43
44 void unknown_command() {
45         send_string("012 Unknown command. Type HELP for help." CRLF);
46 }
47
48 void motor_reply(u8 code) {
49         /* returns a message of the form MXYY - X is return code, YY is motor */
50         switch (code) {
51                 case MOTOR_SUCCESS:
52                         send_string("100 Vend successful." CRLF);
53                         break;
54                 case MOTOR_NOSLOT:
55                         send_string("151 No motor there." CRLF);
56                         break;
57                 case MOTOR_CURRENT_FAIL:
58                         send_string("152 Over current." CRLF);
59                         break;
60                 case MOTOR_HOME_FAIL:
61                         send_string("153 Home sensors failing." CRLF);
62                         break;
63                 default:
64                         send_string("159 Unknown motor error." CRLF);
65         }
66 }
67
68 void dispense_something() {
69         /* process a message VXX in sci_rx_buf where XX is motor number */
70         u8 slot;
71
72         if (check_standalone()) return;
73         if (must_verify() && !mic_verify((void*)sci_rx_buf)) {
74                 send_string("019 Message verification failed." CRLF);
75                 return;
76         }
77
78         if (my_strncmp("ALL", (char*)sci_rx_buf+1, 3)) {
79                 char motor[3];
80                 motor[2] = '\0';
81                 send_string("102 Vend all motors starting." CRLF);
82                 for (motor[0] = '0'; motor[0] <= '9'; motor[0]++) {
83                         for (motor[1] = '0'; motor[1] <= '9'; motor[1]++) {
84                                 if (motor[1] == '5') continue; /* there is now row 5 */
85                                 send_string("101 Vending ");
86                                 send_string(motor);
87                                 send_string(CRLF);
88                                 motor_reply(dispense_motor((motor[0]-'0')*10+(motor[1]-'0')));
89                         }
90                 }
91                 send_string("102 Vend all motors complete." CRLF);
92                 return;
93         }
94
95         if ((sci_rx_buf[1] < '0') || (sci_rx_buf[1] > '9') ||
96                 (sci_rx_buf[2] < '0') || (sci_rx_buf[2] > '9')) {
97                 sci_rx_buf[1] = sci_rx_buf[2] = '0';
98                 motor_reply(MOTOR_NOSLOT);
99                 return;
100         }
101
102         slot = (sci_rx_buf[1] - '0') * 10;
103         slot += sci_rx_buf[2] - '0';
104
105         motor_reply(dispense_motor(slot));
106 }
107
108 void write_to_display() {
109         /* process a message in the form DXXXXXXXXXX to send to display */
110         u8 i;
111         char buf[11];
112
113         if (check_standalone()) return;
114
115         for (i = 0; i < 10; i++)
116                 if (sci_rx_buf[i+1])
117                         buf[i] = sci_rx_buf[i+1];
118                 else
119                         break;
120
121         for (; i < 10; i++) /* pad the rest out with spaces */
122                 buf[i] = ' ';
123         buf[i] = '\0';
124
125         set_msg(buf);
126         send_string("300 Written." CRLF);
127 }
128
129 void send_balance() {
130         sci_tx_buf[0] = 'C';
131         sci_tx_buf[1] = have_change?'0':'1';
132         sci_tx_buf[2] = (coin_value/10000)%10;
133         sci_tx_buf[3] = (coin_value/1000)%10;
134         sci_tx_buf[4] = (coin_value/100)%10;
135         sci_tx_buf[5] = (coin_value/10)%10;
136         sci_tx_buf[6] = coin_value%10;
137         sci_tx_buf[8] = 0;
138         send_buffer(1);
139 }
140
141 void give_change() {
142         u16 cost;
143
144         if ((sci_rx_buf[1] < '0') || (sci_rx_buf[1] > '9') ||
145                 (sci_rx_buf[2] < '0') || (sci_rx_buf[2] > '9') ||
146                 (sci_rx_buf[3] < '0') || (sci_rx_buf[3] > '9') ||
147                 (sci_rx_buf[4] < '0') || (sci_rx_buf[4] > '9') ||
148                 (sci_rx_buf[5] < '0') || (sci_rx_buf[5] > '9')) {
149                 //send_nack();
150         }
151         cost = sci_rx_buf[1] - '0';
152         cost *= 10; cost = sci_rx_buf[2] - '0';
153         cost *= 10; cost = sci_rx_buf[3] - '0';
154         cost *= 10; cost = sci_rx_buf[4] - '0';
155         cost *= 10; cost = sci_rx_buf[5] - '0';
156
157         coin_cost(cost);
158         //send_ack();
159
160
161 void send_keypress(u8 key) {
162         /* send a packet of the form KX with X being the key, or R for reset */
163         if (is_standalone()) return;
164
165         sci_tx_buf[0] = '2';
166         if (key == KEY_RESET) {
167                 sci_tx_buf[1] = '1';
168                 sci_tx_buf[2] = '1';
169         } else {
170                 sci_tx_buf[1] = '0';
171                 sci_tx_buf[2] = (key%10)+'0';
172         }
173         sci_tx_buf[3] = '\0';
174         send_buffer(0);
175         send_string(" key." CRLF);
176 }
177
178 void send_door_msg(bool open) {
179         if (is_standalone()) return;
180         sci_tx_buf[0] = '4';
181         sci_tx_buf[1] = '0';
182         sci_tx_buf[2] = open?'1':'0';
183         send_buffer(0);
184         if (open)
185                 send_string(" door open." CRLF);
186         else
187                 send_string(" door closed." CRLF);
188 }
189
190 void do_chime() {
191         if (check_standalone()) return;
192         if (sci_rx_buf[1] == '\0')
193                 chime_start();
194         else if (sci_rx_buf[1] == 'S') { /* synchronous beep */
195                 if (sci_rx_buf[2] == '\0')
196                         chime_start();
197                 else if (sci_rx_buf[3] != '\0' && sci_rx_buf[4] == '\0')
198                         chime_for(hex2u8(sci_rx_buf[2], sci_rx_buf[3]));
199                 else {
200                         send_string("510 Unknown chime duration." CRLF);
201                         return;
202                 }
203                 while (chime_count); /* spin */
204                 send_string("500 Chimed." CRLF);
205                 return;
206         } else if (sci_rx_buf[2] != '\0' && sci_rx_buf[3] == '\0')
207                 chime_for(hex2u8(sci_rx_buf[1], sci_rx_buf[2]));
208         else {
209                 send_string("510 Unknown chime duration." CRLF);
210                 return;
211         }
212         send_string("500 Chime started." CRLF);
213         return;
214 }
215
216 void do_silence() {
217         if (check_standalone()) return;
218         if (sci_rx_buf[1] == '\0')
219                 unchime_start();
220         else if (sci_rx_buf[1] == 'S') { /* synchronous beep */
221                 if (sci_rx_buf[2] == '\0')
222                         unchime_start();
223                 else if (sci_rx_buf[3] != '\0' && sci_rx_buf[4] == '\0')
224                         unchime_for(hex2u8(sci_rx_buf[2], sci_rx_buf[3]));
225                 else {
226                         send_string("511 Unknown silence duration." CRLF);
227                         return;
228                 }
229                 while (unchime_count); /* spin */
230                 send_string("501 Silenced." CRLF);
231                 return;
232         } else if (sci_rx_buf[2] != '\0' && sci_rx_buf[3] == '\0')
233                 unchime_for(hex2u8(sci_rx_buf[1], sci_rx_buf[2]));
234         else {
235                 send_string("511 Unknown silence duration." CRLF);
236                 return;
237         }
238         send_string("501 Silence started." CRLF);
239         return;
240 }
241
242 void print_switches(u8 prompted) {
243         if (prompted)
244                 send_string("600 ");
245         else
246                 send_string("610 ");
247         send_string(u82hex(misc_input));
248         send_string(" ");
249         send_string(u82hex(switch_input));
250         send_string(CRLF);
251 }
252
253 void ping_pong() {
254         /* make sure it's really a ping */
255         if (!my_strncmp("ING", (char*)sci_rx_buf+1, 3)) {
256                 unknown_command();
257                 return;
258         }
259         /* respond with ack & pong */
260         send_string("000 PONG!" CRLF);
261 }
262
263 u16 hex2addr(char* addrptr) {
264         u16 v;
265         v = hex2u8(addrptr[0], addrptr[1]) << 8;
266         v |= hex2u8(addrptr[2], addrptr[3]);
267         return v;
268 }
269
270 void peek() {
271         if (!my_strncmp("EEK", (char*)sci_rx_buf+1, 3)) {
272                 unknown_command();
273                 return;
274         }
275         if (check_badpoke()) return;
276         if (ishex(sci_rx_buf[4]) && ishex(sci_rx_buf[5]) && ishex(sci_rx_buf[6]) &&
277                         ishex(sci_rx_buf[7]) && sci_rx_buf[8] == '\0') {
278                 u16 v = hex2addr((char*)(sci_rx_buf+4));
279                 v = *((u8*)v);
280                 send_string("090 ");
281                 send_string(u82hex(v));
282                 send_string(CRLF);
283                 return;
284         }
285         send_string("091 Invalid location given." CRLF);
286 }
287
288 void poke() {
289         if (!my_strncmp("OKE", (char*)sci_rx_buf+1, 3)) {
290                 unknown_command();
291                 return;
292         }
293         if (check_badpoke()) return;
294         if (ishex(sci_rx_buf[4]) && ishex(sci_rx_buf[5]) && ishex(sci_rx_buf[6]) &&
295                         ishex(sci_rx_buf[7]) && ishex(sci_rx_buf[8]) && ishex(sci_rx_buf[9])
296                         && sci_rx_buf[10] == '\0') {
297                 u16 v;
298                 v = hex2addr((char*)(sci_rx_buf+4));
299                 *(u8*)v = hex2u8(sci_rx_buf[8], sci_rx_buf[9]);
300                 send_string("080 Written." CRLF);
301                 return;
302         }
303         send_string("081 Invalid location or byte given." CRLF);
304 }
305
306 void jump() {
307         if (!my_strncmp("UMP", (char*)sci_rx_buf+1, 3)) {
308                 unknown_command();
309                 return;
310         }
311         if (check_badpoke()) return;
312         if (ishex(sci_rx_buf[4]) && ishex(sci_rx_buf[5]) && ishex(sci_rx_buf[6]) &&
313                         ishex(sci_rx_buf[7]) && sci_rx_buf[8] == '\0') {
314                 u16 v = hex2addr((char*)(sci_rx_buf+4));
315                 send_string("070 Jumping now." CRLF);
316                 asm volatile ("jsr %0" : : "m"(*(u16*)v) : "d");
317                 send_string("071 And back." CRLF);
318                 return;
319         }
320         send_string("079 Invalid location given." CRLF);
321 }
322
323 void do_set_password() {
324         u8 i;
325         bool good = 1;
326         if (check_badpoke()) return;
327         for (i=1; i < 17; i++) {
328                 if (sci_rx_buf[i] == '\0') {
329                         good = 0;
330                         break;
331                 }
332         }
333         if (good && sci_rx_buf[17] != '\0') good = 0;
334         if (!good) {
335                 send_string("061 Password must be exactly 16 characters." CRLF);
336                 return;
337         }
338
339         mic_set_secret((char*)(sci_rx_buf+1));
340         send_string("060 Password has been set." CRLF);
341 }
342
343 void send_prompt() {
344         if (must_verify()) {
345                 send_string(u82hex(mic_challenge >> 8));
346                 send_string(u82hex(mic_challenge & 0xff));
347         }
348         send_string(is_standalone()?"% ":"# ");
349 }
350
351 void about() {
352         if (!my_strncmp("BOUT", (char*)sci_rx_buf+1, 4)) {
353                 unknown_command();
354                 return;
355         }
356         send_string(
357                 CRLF
358                 " ROM2 (C) 2004 Bernard Blackham <[email protected]>" CRLF
359                 " Revision: " VERSION_STRING "  Built: " DATEBUILT_STRING CRLF "" CRLF CRLF
360                 "   This snack machine was brought to you by " CRLF
361                 "    Bernard Blackham" CRLF
362                 "    Mark Tearle" CRLF
363                 "    Harry McNally" CRLF
364                 "    Michal Gornisiewicz" CRLF
365                 "    and others." CRLF
366                 "" CRLF
367                 " Another UCC project in action.      http://www.ucc.asn.au/" CRLF
368         );
369 }
370
371 void set_echo() {
372         if (my_strncmp("CHO ON", (char*)sci_rx_buf+1, 6))
373                 sci_echo = 1;
374         else if (my_strncmp("CHO OFF", (char*)sci_rx_buf+1, 7))
375                 sci_echo = 0;
376         else
377                 unknown_command();
378 }
379
380 void moo() {
381         if (!my_strncmp("OO", (char*)sci_rx_buf+1, 2)) {
382                 unknown_command();
383                 return;
384         }
385         send_string(
386 "       ____________" CRLF
387 "       |__________|" CRLF
388 "      /           /\\" CRLF
389 "     /  U C C    /  \\" CRLF
390 "    /___________/___/|" CRLF
391 "    |          |     |" CRLF
392 "    |  ==\\ /== |     |" CRLF
393 "    |   O   O  | \\ \\ |" CRLF
394 "    |     <    |  \\ \\|" CRLF
395 "   /|          |   \\ \\" CRLF
396 "  / |  \\_____/ |   / /" CRLF
397 " / /|          |  / /|" CRLF
398 "/||\\|          | /||\\/" CRLF
399 "    -------------|   " CRLF
400 "        | |    | | " CRLF
401 "       <__/    \\__>" CRLF
402 "" CRLF
403 "  ... Where's the cheese?" CRLF
404         );
405 }
406
407 void identify() {
408         send_string(
409                 "086 ROM " VERSION_STRING " " DATEBUILT_STRING CRLF
410         );
411 }
412
413 void help() {
414         send_string(
415                 "Valid commands are:" CRLF
416                 " ABOUT         ROM information" CRLF
417                 " B[S][nn]      beep [synchronously] for a duration nn (optional)" CRLF
418                 " C[S][nn]      silence [synchronously] for a duration nn (optional)" CRLF
419                 " Dxxxxxxxxxx   show a message on the display" CRLF
420                 " ECHO {ON|OFF} turn echo on or off" CRLF
421                 " GETROM        download the ROM source code using xmodem" CRLF
422                 " H[...]        this help screen" CRLF
423                 " IDENTIFY      report ROM version" CRLF
424                 "*JUMPxxxx      jumps to a subroutine at location xxxx" CRLF
425                 "*PEEKxxxx      returns the value of the byte at location xxxx" CRLF
426                 "*POKExxxxyy    sets the value of location xxxx to yy" CRLF
427                 " PING          pongs" CRLF
428                 " S[...]        query all internal switch states" CRLF
429                 "+Vnn           vend an item" CRLF
430                 "+VALL          vend all items" CRLF
431                 "*Wxxxxxxxxxxxx set a new password for authenticated vends. xxx=16 chars" CRLF
432                 "               password will be converted to uppercase" CRLF
433                 "" CRLF
434                 "Very few functions are available when the machine is in standalone " CRLF
435                 "mode (DIP SW 1 is set)" CRLF
436                 "+ denotes that this item requires authentication if DIP SW 2 is set" CRLF
437                 "* denotes that DIP SW 3 must be set to use these" CRLF
438                 "Commands starting with # are ignored (comments)" CRLF
439         );
440 }
441
442 extern const char _rom_src_data[];
443 extern const u16 _rom_src_len;
444 void getrom() {
445         if (!my_strncmp("ETROM", (char*)sci_rx_buf+1, 5)) {
446                 unknown_command();
447                 return;
448         }
449         char s[4];
450         
451         u16 rom_addr;
452         rom_addr = (u16)(&_rom_src_data);
453
454         send_string("Writing to serial port (maybe). Size is 0x");
455         send_string(u82hex(_rom_src_len >> 8));
456         send_string(u82hex(_rom_src_len & 0xff));
457         send_string("@0x");
458         send_string(u82hex(rom_addr >> 8));
459         send_string(u82hex(rom_addr & 0xff));
460         send_string(" with signature ");
461         s[0] = _rom_src_data[0];
462         s[1] = _rom_src_data[1];
463         s[2] = _rom_src_data[2];
464         s[3] = '\0';
465         send_string(s);
466         send_string(CRLF " Type YES to download rom.tar.lz via XMODEM: ");
467         msg_clr();
468         while (!sci_have_packet); /* spin */
469         if (!my_strncmp("YES", (char*)sci_rx_buf, 3)) {
470                 send_string(CRLF "Transfer cancelled." CRLF);
471                 return;
472         }
473
474         sci_init();
475         sci_doing_xmodem = 1;
476         if (!xmodem_init_xfer()) {
477                 sci_doing_xmodem = 0;
478                 send_string("XMODEM init failed. Nobody's listening :(" CRLF);
479                 return;
480         }
481         char *p = (char*)_rom_src_data;
482         char *end = (char*)_rom_src_data+_rom_src_len;
483         bool aborted = 0;
484         while (1) {
485                 if (p + 128 > end) {
486                         /* send partial packet */
487                         if (!xmodem_send_packet((char*)p, end-p)) aborted = 1;
488                         break;
489                 } if ((u16)p == 0xb600) {
490                         /* we have an eeprom here. skip it. */
491                         p += 0x0200;
492                         continue;
493                 } else if (!xmodem_send_packet((char*)p, 128)) {
494                         aborted = 1;
495                         break;
496                 }
497                 p += 128;
498         }
499
500         xmodem_finish_xfer();
501         sci_doing_xmodem = 0;
502         if (aborted)
503                 send_string(CRLF "Transfer aborted." CRLF);
504         else
505                 send_string(CRLF "Transfer complete." CRLF);
506 }
507
508 void quit() {
509         if (my_strncmp("UIT", (char*)sci_rx_buf+1, 3))
510                 send_string("013 You can't quit you doofus." CRLF);
511         else
512                 unknown_command();
513 }
514
515 int main() {
516         u8 i;
517         for (i = 0; i < 11; i++)
518                 display_buf[i] = ' ';
519         display_buf[10] = '\0';
520
521         changer_output = 0x7f;
522         _io_ports[M6811_PORTA] = 0xc0; /* display on. talking to serial port */
523         _io_ports[M6811_DDRA] = 0xfc;
524         _io_ports[M6811_DDRD] = 0x3e;
525         _io_ports[M6811_SPCR] = M6811_MSTR | M6811_SPR1;
526         set_misc_output(0x00);
527
528         display_init();
529         set_msg(" HELLO    ");
530         delay(1000);
531
532         unlock(); /* enable interrupts */
533
534         set_msg("  CRUEL   ");
535
536         //coinmech_init();
537         sci_init();
538         keypad_init();
539         last_coin_value = 0;
540         last_door_open = 0;
541
542         delay(1000);
543
544         set_msg("   WORLD  ");
545         delay(1000);
546
547         chime_start();
548
549         send_string("5N4X0RZ R US" CRLF);
550
551         last_standalone = is_standalone();
552         if (last_standalone)
553                 cur_motor[0] = 0xff;
554         else
555                 cur_motor[0] = 0;
556         send_prompt();
557
558         last_switch_input = switch_input;
559         last_misc_input = misc_input;
560
561         while(1) {
562                 if (cur_motor[0] == 0xff) { /* signal to say redraw screen */
563                         set_msg("*5N4X0RZ* ");
564                         cur_motor[0] = 0;
565                 }
566
567                 if (door_open() != last_door_open) {
568                         last_door_open = door_open();
569                         send_door_msg(last_door_open);
570                         chime_start();
571                         if (is_standalone())
572                                 set_msg(last_door_open?"DOOR OPEN ":"DOOR CLOSE");
573                 }
574
575                 if (last_standalone != is_standalone()) {
576                         /* somebody flicked the standalone switch */
577                         msg_clr();
578                         send_string(CRLF);
579                         send_prompt();
580                         last_standalone = is_standalone();
581                 }
582
583                 if (last_misc_input != misc_input) {
584                         print_switches(0);
585                         last_misc_input = misc_input;
586                 }
587
588                 if (last_switch_input != switch_input) {
589                         print_switches(0);
590                         last_switch_input = switch_input;
591                 }
592
593                 if (sci_have_packet) {
594                         send_string(CRLF);
595                         switch (sci_rx_buf[0]) {
596                                 case '\0':
597                                 case '#':
598                                         send_string(CRLF);
599                                         break;
600                                 case 'A':
601                                         about();
602                                         break;
603                                 case 'B': 
604                                         do_chime();
605                                         break;
606                                 case 'C': 
607                                         do_silence();
608                                         break;
609                                 case 'D':
610                                         write_to_display();
611                                         break;
612                                 case 'E':
613                                         set_echo();
614                                         break;
615                                 case 'G':
616                                         getrom();
617                                         break;
618                                 case 'H':
619                                         help();
620                                         break;
621                                 case 'I':
622                                         identify();
623                                         break;
624                                 case 'M':
625                                         moo();
626                                         break;
627                                 case 'P':
628                                         if (sci_rx_buf[1] == 'I')
629                                                 ping_pong();
630                                         else if (sci_rx_buf[1] == 'O')
631                                                 poke();
632                                         else if (sci_rx_buf[1] == 'E')
633                                                 peek();
634                                         break;
635                                 case 'J':
636                                         jump();
637                                         break;
638                                 case 'Q':
639                                         quit();
640                                         break;
641                                 case 'S':
642                                         print_switches(1);
643                                         break;
644                                 case 'V':
645                                         dispense_something();
646                                         break;
647                                 case 'W':
648                                         do_set_password();
649                                         break;
650                                 default:
651                                         // shurg
652                                         unknown_command();
653                                         break;
654                         }
655                         msg_clr();
656                         send_prompt();
657                 }
658
659                 keypad_read();
660                 if (keypad_pressed()) {
661                         if (is_standalone()) {
662                                 if (last_key == KEY_RESET) {
663                                         cur_motor[0] = 0xff;
664                                 } else {
665                                         if (cur_motor[0]) {
666                                                 u8 motor_num;
667                                                 cur_motor[1] = last_key%10;
668                                                 display_buf[1] = cur_motor[1]+'0';
669                                                 set_msg(display_buf);
670
671                                                 motor_num = cur_motor[0]%10;
672                                                 motor_num *= 10;
673                                                 motor_num += cur_motor[1];
674                                                 switch (dispense_motor(motor_num)) {
675                                                         case MOTOR_HOME_FAIL:
676                                                                 set_msg(" HOME FAIL ");
677                                                                 break;
678                                                         case MOTOR_CURRENT_FAIL:
679                                                                 set_msg(" OVER CRNT ");
680                                                                 break;
681                                                         case MOTOR_SUCCESS:
682                                                                 set_msg("THANK  YOU");
683                                                                 break;
684                                                         case MOTOR_NOSLOT:
685                                                                 set_msg(" NO MOTOR ");
686                                                                 break;
687                                                         default:
688                                                                 set_msg("ERRRRRRRR?");
689                                                                 break;
690                                                 }
691
692                                                 display_buf[0] = ' ';
693                                                 display_buf[1] = ' ';
694                                                 cur_motor[0] = 0xff;
695                                                 delay(500);
696                                         } else {
697                                                 cur_motor[0] = last_key;
698                                                 display_buf[0] = (last_key%10)+'0';
699                                                 set_msg(display_buf);
700                                         }
701                                 }
702                         } else
703                                 send_keypress(last_key);
704                 }
705
706                 /*
707                 if (coin_value != last_coin_value) {
708                         send_balance();
709                         last_coin_value = coin_value;
710                 }
711                 */
712         }
713 }

UCC git Repository :: git.ucc.asn.au