Page 2 of 3

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 11:08 am
by iss
@Hialmar: I'm very happy to know that it works on OSX! And yes, please do the changes it.
Than, if you wish, use MODEM.dsk with the terminal program to connect me, just type: atd iss.homenet.org
I'll be all day long online with running Oricutron.
Let's make FIRST Oric to Oric internet chat! :D

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 11:09 am
by Godzil
iss wrote:@Hialmar: I'm very happy to know that it works on OSX! And yes, please do the changes it.
Than, if you wish, use MODEM.dsk with the terminal program to connect me, just type: atd iss.homenet.org
I'll be all day long online with running Oricutron.
Let's make FIRST Oric to Oric internet chat! :D
IRC client seems to be a better idea

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 11:23 am
by iss
@Godzil: Indeed, IRC client is better and this is on my todo list :D.
But now I wonder what do you think about to add networking to Replic'Oric?

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 12:02 pm
by Hialmar
Good idea :)

What parameters do you use in "SETUP LINE" ?

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 12:20 pm
by iss
address #31C
19200,8,1,N
I typed 'ATA' which starts listening on port 23, to connect you can use 'ATD IP or internet address'
chat.jpg

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 12:23 pm
by Hialmar
Maybe there is a problem with the code on OSX after all because the program seems to hang.

I'll check this in about 2 hours (I have to go teaching right now).

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 12:32 pm
by Godzil
iss wrote:@Godzil: Indeed, IRC client is better and this is on my todo list :D.
But now I wonder what do you think about to add networking to Replic'Oric?
This step of the Replic'Oric is just to have a finished and "definitive" schematic of the current One and Atmos. (with minor correction if needed)

Adding real new functionality is part of another project :) (currently dubbed "New Oric")

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 3:12 pm
by Hialmar
Well this is very strange.

When I debug it doesn't go in any of the modem emulation functions after the communication program is launched.

I just see a black screen with a * on the top left and that's it.

I have tried hitting backspace, Func-Z, Enter... but nothing happens.

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 3:17 pm
by iss
I saw once someone connected to my Oric(utron) :).
Here is my setup:
6. 19200
1. 8 BIT
1. NO (parity)
1. 1 STOP (bit)
1. #31C (io port)
1. NONE (flow control)
Than I press '2' and comm programs starts with green status bar....
To start emulator (under Linux) I use: ./oricutron -m a --serial modem -d disks/MODEM.DSK

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 3:23 pm
by Hialmar
I chose the same parameters but when I start the comm program it never shows me the green status bar.

The monitor shows me that the program runs something but I have no idea why it never gets to this status bar.

Edit: I tried with the loopback as well and I never get to the status bar either. Do we have the source of the communication program somewhere ?

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 3:33 pm
by iss
You can check in pop-up menu 'Hardware options' - Serial modem.
serial-none.jpg
serial-modem.jpg

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 3:54 pm
by Hialmar
Ok got it.

For some reason when I load a disk the serial mode goes from modem to none. I have used the switch in the config file instead of on the command line.

I have switched it back to modem and managed to connect to your server but couldn't go any farther.

Edit: it works it's just that there is no echo done locally. I will leave a message on your machine instead of random keypresses..

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 4:10 pm
by iss
For FIRST time in the world - long distance connection France - Bulgaria :lol:
oric-chat.jpg
oric-chat.jpg (12.5 KiB) Viewed 20272 times

Re: Oricutron with serial port emulation

Posted: Mon Sep 22, 2014 4:17 pm
by Hialmar
And here is the other part of the transcript of the long distance chat with ISS through Oricutron :

Re: Oricutron with serial port emulation

Posted: Wed Sep 24, 2014 6:13 pm
by barnsey123
Hi dudes,

here is HNEFATAFL ONLINE v0.6 which has been tested on Oricutron Rev:626 on Win7 x64.
Created using latest OSDK 1.3

For Disk:
HNEFATAFL-ONLINE.DSK
Same as TAPE version
(131.5 KiB) Downloaded 667 times
For Tape:
HNEFLITE-ONLINE.tap
same as Disk version
(31.89 KiB) Downloaded 618 times

NOTES:
The DSK version is a bit twitchy (been working fine but tested again before posting and the initial screen freezes...not sure why). No problem with TAP. Runs fine using OSDK-EXECUTE but not when loading the DSK directly from oricutron.

The game does NOT feature any computer play (only human vs human connected via either a serial, dial-up or Internet link). I have not tested this on a real oric and have only tested the internet operation on my PC.

Start the prog and it will ask you if you want to be a SERVER or a CLIENT. Once selected, you can't re-select it (so you will remain a server or a client for the duration of the session).

The SERVER controls who plays as ATTACKERS or DEFENDERS (KING). The CLIENT has to wait until the SERVER has made his selection. The SERVER transmits the selection to the client and so the CLIENT becomes the OPPOSITE of what the server selects.
So if SERVER=ATTACKERS, the CLIENT automatically becomes the DEFENDERS.

The ATTACKERS always go first (this is handled automatically so that if the SERVER=KING the CLIENT has the first turn and so on).

A "WAITING..." message will display if it is not your turn. When the other player takes his turn you will here a ZAP, see his move take place and process any takes etc.

The game then continues as normal with trophies awarded etc.

At the end of a game, the SERVER can re-select which side he wants to play as (so the SERVER and CLIENT can continue indefinitely, swapping sides as they go).

The TURN LIMIT has been pre-set at 60 which allows for a good game without becoming too lengthy.

TO DO:
Perhaps a time limit for each player as per tea-for-two
User STATS (so that performance can be compared between SERVER and CLIENT over a number of games)
CHAT feature (this would certainly help as per tea-for-two)
MAYBE incorporate on-line play into the original game as an option. [Maybe won't do this as improved AI is planned and there may not be room]. Hnefatafl II may be lowres (sob!)...

HELLOS:
Thanx to Fabrice for the serial code from tea-for-two and Iss for the oricutron changes.

I'm looking forward to playing against real human opponents (I'm not a "master" at this in case anyone is wondering)

To be SERVER select menu options : 1-1-2 (then 1 or 2 depending on if you want to be attacker or defender)
To be CLIENT select menu options: 2-1-2 and then enter IP address or name of server. I've only tested with 127.0.0.1 and LOCALHOST.

I think the SERVER has be available first else the client bombs.