rileym65 / LibSmr

Framework libraries that I use in other c++ projects
1 stars 0 forks source link

LibSmr/App/sample core dump #2

Open Phi-Ho opened 3 years ago

Phi-Ho commented 3 years ago

~/Desktop/LibSmr/App/sample$ make g++ -pthread -std=c++11 -Wall -fPIC -I/usr/include/freetype2 -c MainApplication.cpp g++ -pthread -std=c++11 -Wall -fPIC -I/usr/include/freetype2 -c MainWindow.cpp g++ -pthread -std=c++11 -Wall -fPIC -I/usr/include/freetype2 -c MainWindow_init.cpp g++ -pthread -std=c++11 -Wall -fPIC -I/usr/include/freetype2 -c main.cpp g++ -pthread -std=c++11 -Wall -fPIC MainApplication.o MainWindow.o MainWindow_init.o main.o -lX11 -lSmrFramework -lSmrAppFramework -lXft -o test

~/Desktop/LibSmr/App/sample$ ./test terminate called after throwing an instance of 'SmrFramework::InvalidOpException' what(): std::exception Aborted (core dumped)

Phi-Ho commented 3 years ago

P.S: It was resolved by adding back -lXft which was commented out(?)

LIBS = -lSmrFramework -lSmrAppFramework -lX11 -lXft

I am sorry, this thread should be in the Linux-Edsac, not here.

rileym65 commented 3 years ago

Phiho, One of the systems I have does not have XFT installed, so I probably commented that out for building on that system and never changed it back. I saw that you did resolve a lot of the issues you were having, did you get the gui version of Edsac running? Mike


From: Phi-Ho notifications@github.com Sent: Sunday, December 13, 2020 3:55 AM To: rileym65/LibSmr LibSmr@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [rileym65/LibSmr] LibSmr/App/sample core dump (#2)

P.S: It was resolved by adding back -lXft which was commented out(?)

LIBS = -lSmrFramework -lSmrAppFramework -lX11 -lXft

I am sorry, this thread should be in the Linux-Edsac, not here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/rileym65/LibSmr/issues/2#issuecomment-743996735, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ6ZWM7ZSOVY7QFWFNAI63SUSTTDANCNFSM4UZNPINA.

Phi-Ho commented 3 years ago

Hi Mike,

Yes but how do I use the GUI to change order and mount tape?

Also, the screen seems to be cut off on the RHS. How can I clear the Counter, Sequence control, Accumulator and Multipier/Multiplicand? There is a button on the right of STEP has no label, what is it for?

Please find a screen shot attached.

Regards,

phiho

Phi-Ho commented 3 years ago

P.S: There is a dial next to Memory, what does it do?

rileym65 commented 3 years ago

Hello Phiho, You forgot to attach your screenshot, but I have attached a screenshot showing what it should look like. I did this screenshot after running a Mandelbrot demonstration program. You can select the initial orders from the drop down on the lower right. But if you name your tapes with an extension of .1 then it will automatically select initial orders 1 when that tape is loaded, or when naming it with .2 then initial orders 2 will be selected automatically. If you use any other extension, then you will need to set the initial orders yourself. Depending on what tapes you run, there are some differences with some instructions that are different between the 1949 (early EDSAC) and 1957 (late EDSAC). Must tapes that I have found on the internet work better in the 1949 mode. You cannot edit tapes inside the emulator, you will have to make your tapes outside of it. Tapes are simple ASCII files, I have attached two different tapes so that you can see what they look like. In general, in tape files commentary can be placed inside of [ and ], these will be ignored by the tape loader. You can see this in the two samples I added. The "button" to the right of "step" is not a button, it is a lamp, the STOP lamp, that gets lit when a halt instruction occurs. Mike

[cid:04596ecf-e704-4784-9fd1-c9d26d9cfe0a]


From: Phi-Ho notifications@github.com Sent: Sunday, December 13, 2020 1:16 PM To: rileym65/LibSmr LibSmr@noreply.github.com Cc: Mike riley mikehriley@hotmail.com; Comment comment@noreply.github.com Subject: Re: [rileym65/LibSmr] LibSmr/App/sample core dump (#2)

Hi Mike,

Yes but how do I use the GUI to change order and mount tape?

Also, the screen seems to be cut off on the RHS. How can I clear the Counter, Sequence control, Accumulator and Multipier/Multiplicand? There is a button on the right of STEP has no label, what is it for?

Please find a screen shot attached.

Regards,

phiho

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rileym65/LibSmr/issues/2#issuecomment-744069716, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ6ZWNJB5J7DBXCDDMIM6TSUUVJXANCNFSM4UZNPINA.

Phi-Ho commented 3 years ago

Sorry, Mike. Here it is. Linux-Edsac

rileym65 commented 3 years ago

Phiho, The memory tube can show any of the 32 long tanks, that dial allows you to select which long tank shows on the memory tube, click on the right half of that dial to increment which long tank is displayed, click on the left half of the dial and the long tank being shown will decrement by one. Mike


From: Phi-Ho notifications@github.com Sent: Sunday, December 13, 2020 1:39 PM To: rileym65/LibSmr LibSmr@noreply.github.com Cc: Mike riley mikehriley@hotmail.com; Comment comment@noreply.github.com Subject: Re: [rileym65/LibSmr] LibSmr/App/sample core dump (#2)

P.S: There is a dial next to Memory, what does it do?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rileym65/LibSmr/issues/2#issuecomment-744072711, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ6ZWNNSRVKVEH7PR4777LSUUX7ZANCNFSM4UZNPINA.

Phi-Ho commented 3 years ago

Hi Mike, I cannot see your screenshot, only this [cid:04596ecf-e704-4784-9fd1-c9d26d9cfe0a], without any pictures.

The memory tube can show any of the 32 long tanks I guessed that but I do not know how it is used to display the Happy50th output as well?

rileym65 commented 3 years ago

Hello Phiho Ok, I put the screenshot at this link:

http://www.elf-emulation.com/edsac.png

On the happy50th program, use the memory dial to show long tank 2, that is where the output from that program is (click twice on the right half of the dial.)

here is a screenshot of that program running with long tank 2 selected:

http://www.elf-emulation.com/edsac50th.png

Mike

From: Phi-Ho notifications@github.com Sent: Sunday, December 13, 2020 1:45 PM To: rileym65/LibSmr LibSmr@noreply.github.com Cc: Mike riley mikehriley@hotmail.com; Comment comment@noreply.github.com Subject: Re: [rileym65/LibSmr] LibSmr/App/sample core dump (#2)

Hi Mike, I cannot see your screenshot, only this [cid:04596ecf-e704-4784-9fd1-c9d26d9cfe0a], without any pictures.

The memory tube can show any of the 32 long tanks I guessed that but I do not know how it is used to display the Happy50th output as well?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rileym65/LibSmr/issues/2#issuecomment-744073462, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ6ZWN62VYAHN64XJOOE2TSUUYYFANCNFSM4UZNPINA.

Phi-Ho commented 3 years ago

Hi Mike,

Thanks for the screen shots, they look like what I got here. The Edsac screen is not cut off on the RHS. I need to move the screen to the left a bit to see the whole screen.

Anyway, the Initial Order drop down selection does not seem to work for me. It always select Initial Orders 1. Mount Tape cannot go to the parent directory and does not seem to load any tape in the current at all. Command line is the only way I can run Edsac.

Any ideas?

Thanks.

phiho

rileym65 commented 3 years ago

Hello Phiho, Ok, looks like there is a bug with the initial orders, I cannot change it either, so I will have to look into it, but the proper initial orders is being set upon tape load if the extension is .1 or .2, even tho the drop down is not reflecting this. But I can select new tapes with no problems from inside the emulator. Yes, you cannot go to the parent directory, primitive dialog that I need to do more work on, but I can select and run tapes that are in my current directory. Try this, make sure the machine is stopped, hit stop button, stop lamp should be lit, hit the clear button, memory should be clear on long tank 0, then try loading and see if long tank zero fills with data. Mike


From: Phi-Ho notifications@github.com Sent: Sunday, December 13, 2020 2:06 PM To: rileym65/LibSmr LibSmr@noreply.github.com Cc: Mike riley mikehriley@hotmail.com; Comment comment@noreply.github.com Subject: Re: [rileym65/LibSmr] LibSmr/App/sample core dump (#2)

Hi Mike,

Thanks for the screen shots, they look like what I got here. The Edsac screen is not cut off on the RHS. I need to move the screen to the left a bit to see the whole screen.

Anyway, the Initial Order drop down selection does not seem to work for me. It always select Initial Orders 1. Mount Tape cannot go to the parent directory and does not seem to load any tape in the current at all. Command line is the only way I can run Edsac.

Any ideas?

Thanks.

phiho

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rileym65/LibSmr/issues/2#issuecomment-744076117, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ6ZWIH647CTA55IC3YRGTSUU3FFANCNFSM4UZNPINA.

rileym65 commented 3 years ago

Hello Phiho, Also, on the open menu, are you double clicking to try and open them? That does not work, click once on the filename, it should be highlighted, and then click the "open" button. That should load the file, Combine that with clearing the machine before loading, then you should see the program load into long tank 0, I also see on mine, when I open the file, the initial orders drop down is following the type of the file I load. So of those two i send you, If I load the mandelbrot.2 file, the drop down is showing me Initial Orders 2, and when I load primes.1 the drop down is showing me Initial Orders 1. Mike


From: Phi-Ho notifications@github.com Sent: Sunday, December 13, 2020 2:06 PM To: rileym65/LibSmr LibSmr@noreply.github.com Cc: Mike riley mikehriley@hotmail.com; Comment comment@noreply.github.com Subject: Re: [rileym65/LibSmr] LibSmr/App/sample core dump (#2)

Hi Mike,

Thanks for the screen shots, they look like what I got here. The Edsac screen is not cut off on the RHS. I need to move the screen to the left a bit to see the whole screen.

Anyway, the Initial Order drop down selection does not seem to work for me. It always select Initial Orders 1. Mount Tape cannot go to the parent directory and does not seem to load any tape in the current at all. Command line is the only way I can run Edsac.

Any ideas?

Thanks.

phiho

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rileym65/LibSmr/issues/2#issuecomment-744076117, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ6ZWIH647CTA55IC3YRGTSUU3FFANCNFSM4UZNPINA.

rileym65 commented 3 years ago

Hello Phiho, I fixed the bug where you could not select the Initial Orders, the fix has been pushed to GitHub. Mike


From: Phi-Ho notifications@github.com Sent: Sunday, December 13, 2020 2:06 PM To: rileym65/LibSmr LibSmr@noreply.github.com Cc: Mike riley mikehriley@hotmail.com; Comment comment@noreply.github.com Subject: Re: [rileym65/LibSmr] LibSmr/App/sample core dump (#2)

Hi Mike,

Thanks for the screen shots, they look like what I got here. The Edsac screen is not cut off on the RHS. I need to move the screen to the left a bit to see the whole screen.

Anyway, the Initial Order drop down selection does not seem to work for me. It always select Initial Orders 1. Mount Tape cannot go to the parent directory and does not seem to load any tape in the current at all. Command line is the only way I can run Edsac.

Any ideas?

Thanks.

phiho

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rileym65/LibSmr/issues/2#issuecomment-744076117, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJ6ZWIH647CTA55IC3YRGTSUU3FFANCNFSM4UZNPINA.