Oricutron with serial port emulation

Comments, problems, suggestions about Oric emulators (Euphoric, Mess, Amoric, etc...) it's the right place to ask. And don't hesitate to give your tips and tricks that help using these emulations in the best possible way on your favorite operating system.
User avatar
iss
Flight Lieutenant
Posts: 476
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron with serial port emulation

Post by iss » Mon Sep 22, 2014 11:08 am

@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

Godzil
Squad Leader
Posts: 755
Joined: Sat May 21, 2011 7:21 pm
Location: Between UK and France
Contact:

Re: Oricutron with serial port emulation

Post by Godzil » Mon Sep 22, 2014 11:09 am

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

User avatar
iss
Flight Lieutenant
Posts: 476
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron with serial port emulation

Post by iss » Mon Sep 22, 2014 11:23 am

@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?

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron with serial port emulation

Post by Hialmar » Mon Sep 22, 2014 12:02 pm

Good idea :)

What parameters do you use in "SETUP LINE" ?
Hialmar
CEO and Silicium member.

User avatar
iss
Flight Lieutenant
Posts: 476
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron with serial port emulation

Post by iss » Mon Sep 22, 2014 12:20 pm

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

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron with serial port emulation

Post by Hialmar » Mon Sep 22, 2014 12:23 pm

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).
Hialmar
CEO and Silicium member.

Godzil
Squad Leader
Posts: 755
Joined: Sat May 21, 2011 7:21 pm
Location: Between UK and France
Contact:

Re: Oricutron with serial port emulation

Post by Godzil » Mon Sep 22, 2014 12:32 pm

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")

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron with serial port emulation

Post by Hialmar » Mon Sep 22, 2014 3:12 pm

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.
Hialmar
CEO and Silicium member.

User avatar
iss
Flight Lieutenant
Posts: 476
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron with serial port emulation

Post by iss » Mon Sep 22, 2014 3:17 pm

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

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron with serial port emulation

Post by Hialmar » Mon Sep 22, 2014 3:23 pm

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 ?
Hialmar
CEO and Silicium member.

User avatar
iss
Flight Lieutenant
Posts: 476
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron with serial port emulation

Post by iss » Mon Sep 22, 2014 3:33 pm

You can check in pop-up menu 'Hardware options' - Serial modem.
serial-none.jpg
serial-modem.jpg

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron with serial port emulation

Post by Hialmar » Mon Sep 22, 2014 3:54 pm

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..
Hialmar
CEO and Silicium member.

User avatar
iss
Flight Lieutenant
Posts: 476
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Oricutron with serial port emulation

Post by iss » Mon Sep 22, 2014 4:10 pm

For FIRST time in the world - long distance connection France - Bulgaria :lol:
oric-chat.jpg
oric-chat.jpg (12.5 KiB) Viewed 4420 times
Last edited by iss on Mon Sep 22, 2014 4:19 pm, edited 1 time in total.

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: Oricutron with serial port emulation

Post by Hialmar » Mon Sep 22, 2014 4:17 pm

And here is the other part of the transcript of the long distance chat with ISS through Oricutron :
Attachments
chatWithISS.jpg
Hialmar
CEO and Silicium member.

User avatar
barnsey123
Flight Lieutenant
Posts: 379
Joined: Fri Mar 18, 2011 10:04 am
Location: Birmingham

Re: Oricutron with serial port emulation

Post by barnsey123 » Wed Sep 24, 2014 6:13 pm

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 168 times
For Tape:
HNEFLITE-ONLINE.tap
same as Disk version
(31.89 KiB) Downloaded 158 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests