Hello Matthias, hello Steve, many thanks for your replies!!
(now I am maximally angry, because when I wanted Submit Post, the electrical power went down! So Iam writting this at the second time and I will be more brief :)
Mathias's code:
- WinExec function goes perfectly
- ExecuteAndWait...
Hi Mary.., it is easy,..
The type TForm has implemented the event OnClose (if you focus your Form1, you can see this in object inpector window, where you have to click to Events). This event is activated on the application close. So, double click on the empty field on the right of text OnClose...
Hello
I need to know how to execute command line command in Delphi. I want to run external applications (DOS commands - copy,cd,delete,.. and some compilers and linker) in my project. I found one possible way by windows API functions, but I don't understand the lots of parameters and I hope...
I have system based on 8086 without OS and BIOS (just empty memory). I want to do applications in C language for this system. I want to know wether I can write all the application in C language or I need to write some routines in assemler (memory managing, interrupt services,boot sequence...
for zBuilder
my answer:
I'm from Czech Republic and there is no way to get AM29F102 (what is FLASH type in PLCC package given into PLCC socket) and I must use as substitution 27C1024 (OTP with the same pinout).
I have never heard about NOVRAM,but:
1. I think to find the same type NOVRAM as my...
I'm happy for your answer Walid!
I agree with you, that Turbo Assembler isn't good for my work and I'm very enjoying for your simple assembler!!
Thank's for your help, Jenda.
Thanks for answer Walid.
My problem is,that I have only three "One time programming EPROMs" (what is used for booting after device reset) and I cannot try some experiments if it does go or doesn't.
So my answer is :
- if exist some software that can simulate device with procesor 8086...
I tried all, what Jennigs wrote :
getDS didn't go - I compared value getDS with _DS and they wasn't the same. But it doesn't depends.
The best for extract segment and offset from variable is really FP_SEG and FP_OFF.
This goes in 100% in all memory models;
I agree with Jennigs it's not...
It's most important question for me!
My target system is not PC, but some device with procesor 8086. There is no operating system (there isn't DOS!) and memory configuration is other then PC's.
(For booting is used FLASH in the higher memory range and the lower half of memory range is SRAM...
I tried both answers but look :
Byte a;
Word off,seg;
//(1) - using assembler
asm les di,[a]
asm mov ax,es
asm mov [seg],ax
asm mov ax,di
asm mov [off],ax
//(2) - using DOS.H
seg = FP_SEG(&a);
off = FP_OFF(&a);
printf("address of a = %p\n",a);
printf("offset of a =...
Hello
Is any way to get the segment address of pointer?
My program language is Turbo C.
example:
char x;
Word off,seg;
off = &x;
seg = ???????????
Thank you Jenda
Here is nobody who can answer this "difficult" question.
So when nobody will answer today to 17:00 of Middle Europe time I murder myself. Jenda
P.S.: There's one mistake - the addresses are to FFFFFF (six F) not FFFFF (five F)
My target system is the board with processor Am186,
memory sytem:
SRAM with addresses 00000-7FFFF 256k x 16 bits
FLASH with addresses 80000 - FFFFF 256k x 16 bits.
! There is no operating system in this board. All the memory 00000 - FFFFF is free only for my application.
Problems:
1. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.