Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Jenda

  1. Jenda

    Execute command line command in Delphi

    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...
  2. Jenda

    Check file saved before exit app.

    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...
  3. Jenda

    Execute command line command in Delphi

    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...
  4. Jenda

    What all I have to do to run C applications in 8086 system without OS

    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...
  5. Jenda

    Setting assembler source for "x86 device with no operating system"

    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...
  6. Jenda

    Setting assembler source for "x86 device with no operating system"

    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.
  7. Jenda

    Setting assembler source for "x86 device with no operating system"

    Hello I wrote a mistake. I wanted wrote: "So my question is" instead "So my answer is". Thanks Jenda
  8. Jenda

    Setting assembler source for "x86 device with no operating system"

    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...
  9. Jenda

    Segment of pointer in Turbo C

    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...
  10. Jenda

    Setting assembler source for "x86 device with no operating system"

    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...
  11. Jenda

    Segment of pointer in Turbo C

    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 =...
  12. Jenda

    Segment of pointer in Turbo C

    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
  13. Jenda

    How to set up starting absolute address of my C program

    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)
  14. Jenda

    How to set up starting absolute address of my C program

    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...

Part and Inventory Search

Back
Top