Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dangerman

Pages: 1 2 [3] 4
Interface / Re: USB to Enterprise serial
« on: 2018.December.10. 23:21:48 »
Unfortunately my problem is not the Enterprise reading, but it's the other computer sending.

Without handshaking, the other computer can only send 24 bytes at a time - otherwise the Enterprise's buffer will become full and bytes will be lost - whether I'm using BASIC or machine code.

So I either insert a delay after sending every few bytes (at the Amiga/PC end) to give the EP enough time to process it's buffer; or else I really need to find out how to get handshaking working.

Interface / Re: SD card interface
« on: 2018.December.10. 22:37:26 »
I think round lithium batteries (like the one on the SD card board) aren't bad for leaking.

The problem batteries are the old NiCd and NiMH batteries - they leak and cause damage to old motherboards :(

Great to see that the SD card interface keeps getting better.

Interface / Re: USB to Enterprise serial
« on: 2018.December.10. 18:03:44 »
I was using this...
Code: [Select]

That seemed to work ok, but because there was no handshaking I could only transfer 24 bytes at a time.

Maybe I'll give it a go from machine code.

Interface / Re: USB to Enterprise serial
« on: 2018.December.09. 21:25:05 »
When you say machine code - do you mean writing directly to the port 0B7h?

I'm using the standard EXOS SERIAL: device, which I think works the same whether used from BASIC or machine code.

As far as I can tell, the STATUS OUT line is +12v when the Enterprise is ready to read data, but for some reason nothing gets sent (or at least nothing gets received!). Sadly I can't really see what's going on because I only have a voltmeter, not an oscilloscope.

Interface / Re: USB to Enterprise serial
« on: 2018.December.09. 14:16:20 »
Good stuff. Wifi on the Enterprise? That would be cool!! I see that the 74LS06 is used inside the Enterprise to drive the serial line, so seems like a good choice.

I haven't yet done anything about investigating USB, but I have managed to hook up the Enterprise serial port to an Amiga, which has a good old RS232 port. Data transfer works but I can't seem to get handshaking working (maybe because I'm not using the offset ground?)

If I enable handshaking on the Amiga, then it doesn't send anything to the EP.
If I disable handshaking, I can send up to 24 bytes at a time to the EP but then have to wait (that's the limit of EP buffering).

Writing data from EP to Amiga seems to work though.

Interface / Re: USB to Enterprise serial
« on: 2018.December.07. 00:19:54 »
Oh dear - so it needs a special circuit. It can't be done with a standard USB-to-serial adapter?? :(

It appears it was possible to connect an Enterprise to an old PC serial port with just a couple of resistors - Application Note 29 - but I presume this wouldn't work for a USB-serial adapter...

Interface / USB to Enterprise serial
« on: 2018.December.06. 17:58:53 »
Hello. I'm thinking about connecting my Enterprise to a Linux PC to transfer files and other stuff across - only at 9600 baud!

But sadly modern PCs don't have the old serial ports any more - they just have USB. There are plenty of USB-serial adapters on the internet but most of them (certainly the cheap ones) seem to work with 5V logic (or even 3.3V). The Enterprise serial port is 12V of course... or -5V to +7V if you use the reference ground :|  

Has anyone successfully connected the Enterprise to a PC USB port?

Interface / Re: SD card interface
« on: 2018.November.13. 23:44:50 »
Mine arrived today too. It's fantastic :ds_icon_cheesygrin: 

Everything fits into the cartridge slot - EXDOS, BASIC and an SD card with 1000s of software titles!!!

Love it.

Programming / Re: EXDOS 3.0
« on: 2018.September.14. 23:29:56 »
Wow! Amazing! :ds_icon_cheesygrin:

I was investigating the EXDOS internals myself recently and wondering what it would take to add FAT16 or FAT32 support.

Brilliant news that it's being worked on...

Hardware / Re: Testing of OSSC: Is this how it should look?
« on: 2018.August.11. 11:22:54 »
Yes, I have some stable border effect, without timing

Wow - thanks for these. They look really good.

Although when I tried on the emulator, the 2nd demo wasn't stable for me - not sure if I was doing something wrong... Haven't tried it on a real Enterprise though.

Hardware / Re: Testing of OSSC: Is this how it should look?
« on: 2018.August.04. 13:25:40 »
I think the weird border is just how this game looks. I've tried loading the game into the ep128emu emulator and I still get the same unstable border.

I believe the game is a spectrum conversion and the spectrum code rewrites the border to achieve a multi-coloured effect (see attached image - it only happens on the menu because the actual game doesn't use this effect). But this doesn't work on the Enterprise because the CPU timings are different from the Spectrum.

Is it even possible to have stable border effects on the Enterprise? On the Spectrum the Z80 CPU and the graphics ULA run from the same clock, so you can time the Z80 code exactly.

On the EP, the Z80 and Nick chip run on different clocks which I guess means that you can't predict the exact timings for how long the Nick chip is going to delay the Z80. Perhaps if the variation is only a few clock cycles different and this happens during the horizontal blanking then it would work. Or maybe you would have to set up Nick interrupts and use them to do the timing?...

Display / Re: External colour tests
« on: 2018.July.09. 00:19:52 »
Wow - this is amazing. Never seen anything like this on the Enterprise before. I always wondered if the sprite signals actually worked.

16 colour sprites in high resolution - exciting stuff!!!

Programming / Re: Easy relocatable code in basic
« on: 2018.May.03. 18:39:57 »
Then, maybe Devpac was the application used to make those classic relocatable programs.

Yes... I don't know for sure but I always assumed that they were written in Devpac. I think in the early days Devpac was the only assembler available, although ASMON appears to have been around in late summer 1986 (according to the IEUG magazines).

Programming / Re: Easy relocatable code in basic
« on: 2018.May.03. 10:51:15 »
I tried using ASMON in the past to assemble relocatable modules (it was to play around with some BASIC extensions actually). I used .CSEG and .ASEG but I found that it didn't work properly for me (I seem to remember that it didn't write the last byte properly or something). Maybe I was doing something wrong.

But... did you know that Hisoft Devpac will create relocatable modules? And it automatically knows which values are addresses and which aren't. I used it several times successfully to create relocatable modules.

Emulators / Re: ep128emu fullscreen
« on: 2017.December.22. 23:39:24 »
In fact, I decided to add a display.fullscreen configuration option to src/emucfg.cpp and src/emucfg.hpp

Then I modified gui/gui.cpp like this:
Code: [Select]
 if ( config.display.fullscreen <= 3 ) {
    displayMode = (int)config.display.fullscreen;
  } else {
    displayMode = 0;

So now it's possible to add a display.fullscreen option into an ASCII config file.

Pages: 1 2 [3] 4