Author |
Message |
Mac Buster
Retired
Joined: 03 Aug 2003 22:37 Posts: 1474 Location: Moscow
|
Indeed.
|
15 May 2008 22:06 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
I've been playing with the idea of changing floppy disks on the fly within the machine. I would add calls that poll disk status (i.e. is a disk loaded?), get file name of the loaded disk, "eject" the disk, and open a new disk from the host filesystem.
The latter would be done by passing a 0-terminated string with X:Y.
The cool part is that it would be possible to, instead of like now when you have to pass a filename on the command prompt, add a command like
"LOADSUB myfile.ternobj", that loads and runs that image
|
19 May 2008 11:23 |
|
|
Mac Buster
Retired
Joined: 03 Aug 2003 22:37 Posts: 1474 Location: Moscow
|
Very nice idea. What about "write protection" ?
|
20 May 2008 23:55 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
I don't want to make any changes to the file format. Maybe in-emulator software-implemented (i.e. if certain positions are set to some magic value, write protection is enabled, and the write function refuses to work). Another possibility would be to somehow implement it in the host file system (simply setting the file read-only). But that would be hard to port, since different operating systems have widely different file permission paradigms...
|
22 May 2008 06:25 |
|
|
Mac Buster
Retired
Joined: 03 Aug 2003 22:37 Posts: 1474 Location: Moscow
|
I've been thinking about write protection via host filesystem, but since it would be hard to port, I'd leave this idea for now.
|
22 May 2008 23:25 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
I've made the (CVS) memory image sources rely on includes instead of command line arguments to decide what to assemble. So, instead of just assembling everything, the sources are now assembled by running
tg_assembler ram.asm
And then it figures out on it's own when to include what.
|
02 Jun 2008 12:30 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
I've realized Tunguska does not like some linux-versions (the very recent ones). It seems to be a problem with either gcc or glibc.
I'm working on finding a solution to the problem at the moment.
The symptom is random crashes at startup with messages like these.
|
04 Jul 2008 12:43 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
It's fixed now. Was a sneaky little buffer overflow.
Anyways, I added some of the floppy functionality to the CVS. Now, to load an image type "LOAD" and it will prompt you about the image to load. Then, to run it, type "RUN". You can also unload it with "UNLOAD", but you don't need to unload to load a new image.
|
04 Jul 2008 13:23 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
I released a bugfix version (0.0.3.3) to fix the buffer overflow in the 0.0.3 branch.
--
The next branch is also getting close to release. I don't think there is going to be any new features other than what is already in the CVS added to it. What's left is going over the documentation and making sure it's relevant to the current state of affairs.
I'm going to do what I should have done with the last release and shift the version numbers one step to the left. It really doesn't deserve to be called alpha software any more. It clearly is more than worthy of beta status. So the next branch is going to be called "Tunguska 0.4"
|
05 Jul 2008 06:33 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
I've made a few updates to the CVS that may or may not improve performance slightly. Most notably, I've added value caching to the tryte class so that unless it's actually changed, the value at integer conversion is stored in an integer. Also some minor changes to the trit class that also might improve performance slightly.
|
29 Jul 2008 15:10 |
|
|
Shaos
Admin
Joined: 08 Jan 2003 23:22 Posts: 22821 Location: Silicon Valley
|
Your Makefile has a problem a few months already:
P.S. Congratulations with publishing in "Linux Format" magazine!
|
29 Jul 2008 18:38 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
Fix'd, thanks.
Yeah, I saw the Linux Format thing. I didn't think it made it to the press, but apparently it did.
|
30 Jul 2008 03:58 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
Just making a note of the fact that I just released tunguska-0.4. I've been putting it off for a long time for no real reason.
|
07 Aug 2008 13:17 |
|
|
Mac Buster
Retired
Joined: 03 Aug 2003 22:37 Posts: 1474 Location: Moscow
|
Good news! Waiting for Windows build
P.S. Tunguska (Windows build, v 0.2a) works perfectly on my Intel Atom ITX board. Will use the system for development.
|
07 Aug 2008 23:39 |
|
|
Shaos
Admin
Joined: 08 Jan 2003 23:22 Posts: 22821 Location: Silicon Valley
|
I just got that Linux Format issue from UK (I bought it from ebay, because it was not available locally anymore)
|
16 Aug 2008 19:07 |
|
|