News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

How will the BIN of a PAS program be started by the DSK?

Started by funkheld, 18:40, 27 August 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

funkheld


How will the BIN of a PAS program be started by the DSK plaece ?


Thank you.
Greeting

AMSDOS

Sorry, I'm unsure if I understand correctly what you're querying about!  :( Do you want to compile Pascal programme into Binary File? Or are you trying to load DSK image in real hardware? Files from DSK image need to be extracted (removed), before they can be used on Real Hardware, though I think there's also a program which runs on real hardware which can read the DSK file. I use the Winape emulator and in the area where Disk Images can be inserted or removed is an option called Edit Disk, click on that and a Window appears showing the files on that and you can click on the Binary file, Copy and then paste into something that you can read.

However, if I misinterpreting the question perhaps write in your own language, someone here maybe able to follow or I can Google Translate, it's not 100%, though I've found more times than not I've been able to get the basics of what's being said.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

funkheld

I'm so sorry.
how can you start the "test.bin"?
run "test.bin" does not work.

Thank you.
greeting

arnoldemu



Quote from: funkheld on 09:34, 28 August 18
I'm so sorry.
how can you start the "test.bin"?
run "test.bin" does not work.

Thank you.
greeting
Like this:


10 MEMORY load-1
20 LOAD"test.bin",load
30 CALL start


load = load address for binary
start = execution start address for binary


You need to know this information.


You can use UTOPIA rom and |INFO command to find this. Winape may also give this information for the file in it's disc editor.





EDIT: if run"test does not work then this means test has no execution address and so can't be run like this. If it had an execution address then it would run. You could try the start address.

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

AMSDOS

Hmmm, unsure if funkheld is referring to the "Animation Test" programme in the Hisoft Pascal thread, it's hardly what I call exciting. I made it because I made something earlier which appeared to animate the default PEN 14 when loading in data with TIN, though since discovered TIN is CAS READ CHAR (&BC80), so some slight pauses occur during loading.

So, if it's the "Animation Test" program I created, you can 'cat' the disk image 'Colour Animation & Screen Load (Hisoft Pascal 4t).dsk', to display the filenames, the file on that is called "anmtin.bin".
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Powered by SMFPacks Menu Editor Mod