From
Max Kuleshov
→
To
All
9 November 2006
Hello, mig'95
Thanks for the answers. I'll explain why this is necessary.
Actually, everything is simple. Those who program using cross-tools
development, how do you then load the result into the emulator? After all, if it’s right
some kind of error then launches can be done in a short period of time
a lot (ran, looked, fixed, rebuilt, ran again), so
We need to extremely simplify the procedure for transferring the assembled bin file to the emulator.
From
Stanislav Yudin
→
To
All
9 November 2006
Hello, maximk
max> Question 1. Which emulator will allow you to do this?
Surely many emulators allow this, but I know for sure that ZX-Emul by
Vladimir Yudin can upload a BIN file to any Z80 address. I used this
function when I made “perfect” SNA files
[http://zxpilot.vladivostok.ru/games.shtml] for an emulator for Palm.
From
Vasya Popov
→
To
All
9 November 2006
Hello, maximk
max> by command LOAD ""CODE xxx
I see this method: copy this file to a disk image, connect this
image to the emulator, and that’s it...
From
Igor Mamonov
→
To
All
9 November 2006
Hello, maximk
max> Which emulator will allow you to do this?
In EmuZWin in debugger mode there is such a feature - Save/Load/Compare Data block.
M.b. is this exactly what you need?
From
Kamil Karimov
→
To
All
9 November 2006
Hello, maximk
max> The file is located on the PC and ideally does not have any headers
max> simple BIN format.
max> Question 1. Which emulator will allow you to do this?
In the Unreal emulator debugger there is a Load block command that is called
Alt+R keys.
In the window that appears, specify the file name and download address.
The Save block command (Alt+W) accordingly allows you to write a section of memory to
the specified file.
From
Max Kuleshov
→
To
All
9 November 2006
Hello, All
There are different formats used in emulators - tape images, disk images,
"snapshots" of the machine's condition. To be honest, I don’t know all the features of these formats.
I know.
I need to be able to load a file into a specific memory location, like this
how this is done using the LOAD ""CODE xxx command, without launching.
The file is located on the PC and ideally has no headers, a simple
BIN format.
Question 1. Which emulator will allow you to do this?
If there is no direct answer, then:
Question 2. What is the easiest format to convert this BIN file into so that you can
Was it possible to load it in some emulator using the described method?
From
Max Kuleshov
→
To
All
9 November 2006
Hello, psb
The disk image is the first thing I thought of. But... I haven’t tested it yet, but will he understand?
emulator, if an open disk image is changed on the fly by a third-party program? Here
not a fact... And of course this is the easiest way. You can reopen the image, but
This is already unnecessary gestures :)
It would be cool if there was such an emulator that allows you to link
BASIC LOAD and SAVE to real PC files :) And even so that
There was turbo loading at the same time :)
From
psb
→
To
All
9 November 2006
Hello, maximk
max> Those who program using cross development tools like
max> then load the result into the emulator?
1. The code block is copied to the disk image by FAR with plugins.
2. SjAsm is used with the ability to create either SNA or ready-made TRD. in this
In this case, compiling and launching the emulator with the created image is done in a bat file.
From
Max Kuleshov
→
To
All
9 November 2006
Hello, mig'95
This is all clear :), but here’s what I’m talking about:
1. Is it possible to stuff a file into a .TRD from a batch file?
Correction. I don't want to be tied to SjAsm etc. Are there separate utilities?
with a command-line interface to work with TRD?
2. If we first loaded TRD into the emulator and then changed it, it will pick up
does he immediately notice these changes? And will he allow it to be changed at all, otherwise maybe
he opened it with exclusive access (I can’t try it right now, I don’t have Windows for
hand).
3. BASIC commands for loading from tape and disk are not the same length :)
And I'm looking for the shortest path. Loading a piece using an emulator is good,
especially if there are hotkeys, etc. But LOAD "TEST"CODE 32768 despite the fact that
TEST is a separate (not some kind of image) file on a PC, in my opinion it would be
perfect :)
From
Igor Mamonov
→
To
All
9 November 2006
Hello, maximk
I don't understand you Yay :)
It’s better to describe how I do it..
I launch EmuZWin. I open the ASMA editor built into it. I’m writing some thread
another super-duper effect :) I compile it and launch it. If it doesn't work, I fix it.
As soon as it worked, I loaded the image of a blank floppy disk created here (in
emule) in and save the resulting binary. I save the sources in plain-text
a folder specifically designated for this.
Everything is simple and convenient.
From
Igor Mamonov
→
To
All
9 November 2006
Hello, maximk
max> It would be cool if there was such an emulator that allows you to link
max> BASIC LOAD and SAVE to real PC files :)
I didn’t understand anything.
Here. I worked without leaving EmuZWin. What I mean is that no one interferes with
emulator to access floppy disk images directly.
File: WORK333.rar http://zx.pk.ru/attachment.php?attachmentid=4078
From
Igor Mamonov
→
To
All
9 November 2006
Hello, maximk
max> 1. Is it possible to push a file from a batch file into .TRD?
I admit honestly - I’m not in the know :)
max> If we first loaded TRD into the emulator and then changed it,
max> will it immediately pick up these changes? And will he even allow it?
max> change, otherwise maybe he opened it with exclusive access
max> (I can’t try it right now, I don’t have Windows at hand).
Well, yes, it will, if the image itself is not read-only. The content will change (actually)
not immediately, but after finishing working with the emulator it will offer to save all changes.
In general, I understood everything. Laziness is the engine of progress. :)
From
Vasya Popov
→
To
All
9 November 2006
Hello, maximk
max> without closing the emulator
max> version 1 or 1.00001?
version 1.00001, i.e. changed!!! (tested on Unreal Speccy). Emulsion holds
the “modified” image is somewhere in the RAM, but the “real” saves are in the image
on the screw will only happen after closing the emulator, if you confirm this.
From
Max Kuleshov
→
To
All
9 November 2006
Hello, mig'95
> The content will not change (actually) immediately, but after finishing working with
> the emulator will offer to save all changes.
No, no. Look,
1) I compile and assemble version 1, push it into TRD, open it in
emulator.
2) I find an error, correct it in the source code, rebuild it, this is already a version
1.00001, I re-paste(?) into the TRD (without closing the emulator and without re-opening
image!).
3) I do a reset in the emulator, autostart occurs.
What will the emulator load for me? version 1 or 1.00001? :)
From
Max Kuleshov
→
To
All
9 November 2006
Hello, mig'95
> I open the ASMA editor built into it.
This is what doesn’t suit me. Editor, assembler, compiler, linker
me external. I don't need something like an IDE.
From
Max Kuleshov
→
To
All
10 November 2006
Hello John North
I looked and thought that the fastest way to load data from outside would be
using the quick load hotkeys of the unreal emulator.
All you need to do is write a simple program that will be my BIN file
push it into .SNA.
I think how. I launch BASIC, write RANDOMIZE USR xxx, without pressing ENTER I do it
quick save, and then I edit the resulting .SNA.
Thus, to run the program, I will only need to press alt-f3 and
enter :)))
From
psb
→
To
All
10 November 2006
Hello John North
Joh> The emulsion keeps the “modified” image somewhere in the RAM
a person asks about external development tools => without restarting the emulsion
will see the old TRD. But! no one bothers you to run the emulsion from the batch file after
compilation. is it bad?
max> 1. Is it possible to push a file from a batch file into .TRD?
maybe, there seemed to be utilities... but I don’t remember where to look for them... or on the forum,
or on zx.da.ru...
max> 2. If we first loaded TRD into the emulator and then changed it,
max> will it immediately pick up these changes?
I think NO emulator CAN do this.
As for the BASIC loader... if you figure out how to add a file to the trd, then
First, you can also push the bootloader onto the TRD, and then your code block.
Automatically run the emulsion with this turbocharger and see what happens.
From
Yuri Potapov
→
To
All
12 November 2006
Hello, psb
realspec will pick it up - it works with TRD directly on disk
From
rasmer
→
To
All
12 November 2006
Hello Jerry
in one of the emuls BK0010-01, I saw such a technique - the emulator not only worked with
images of disks and tapes, but also files were simply stored on disk (even in
directory with the emulator itself), and the emulator intercepted the reading record, read and wrote directly
on the screw...
From
psb
→
To
All
13 November 2006
Hello Jerry
jer> realspec will pick up - it works with the TRD directly on the disk
I won’t argue, but I very much doubt it... when I was still working with him (in DOS),
I walked into an open turbofan with headlights, and the headlights showed the empty turbofan...