Discussion in "Software" started by    Elektro    Nov 1, 2010.
Thu Nov 04 2010, 01:00 PM
@majoka : were u able to see the graphics screen?
Thu Nov 04 2010, 01:57 PM
good luck Elektro.
Thu Nov 04 2010, 03:08 PM
@ Elektro
i run it in visual c but there was error because some function r different in visual c as compare to turbo
so i can't execute it
Thu Nov 04 2010, 08:54 PM

is it just me?

i see the welcome screen.. i press key.. screen goes off and nothing comes afterward w

Ajay Bhargav

Are you running it from a DOS box ?

If you do the proper failure is

Program to calculate the hex value to light up an 7 SEG display
- Veeresh
Press any key to continue
BGI Error: Graphics not initialized (use 'initgraph')

Fri Nov 05 2010, 07:49 AM
this is what the screen is supposed to look like...

im still working on the program... let u know...

Fri Nov 05 2010, 08:24 AM
its great dear
keep it up
Fri Nov 05 2010, 07:35 PM
it looks great
I am running win7 32 bit. do you think it could be an issue?
Sat Nov 06 2010, 08:51 AM
@ajay : well the program was written using Turbo-C for DOS which is a 16-bit compiler... compiling it on a 32-bit platform should not cause any problems i guess... coz i have done it sometimes too and it worked fine.

not sure if win7 supports DOS( im sure vista doesnt ).

i have modified the earlier source code to enable autodetection of the adapter(in a different way) and im attaching the code now... let me know if it works out..as i do not have Visual C++ compiler installed in my system.
Sat Nov 06 2010, 09:40 PM
I can't compile your program in Visual C because Microsoft don't supply
Graphics.h any more.

Getting a graphics program written Turbo-C for DOS
to run in Windows is likely to be difficult.

What operating system are you running ?

[ Edited Sat Nov 06 2010, 09:40 PM ]
Sat Nov 06 2010, 10:55 PM
@ExperimenterUK : thats bad... i compiled it on a turbo C compiler...

for the second part i dont agree as i am running the program in XP environment and it works... it will work in a 32-bit environment too but the OS should support 16-bit apps. thats all...like if you are running vista it wont work coz vista doesnt support 16-bit apps.

download link for the turboC compiler : http://rapidshare.com/files/429295667/TURBOC.zip

unzip contents to C:\ drive

goto WIN+RUN ---> cmd ---> goto c:\turboc --> type tc.exe a turbo c ide window will open.

load the .c file here(F3) and then run it using the CTRL + F9 command.

and it seems to me that i will have to learn visual C or visual basic soon...

Get Social


Powered by e107 Forum System


Tue Jan 14 2020, 07:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 01:44 PM
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 10:30 AM
Hello. Can anyone share the code in Bascon and scheme in Proteus?
Thu Nov 21 2019, 12:30 PM
how to interface 8051 microcontroller with NRF24L01+ module
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download



Sat Jan 11 2020, 10:42 AM
Tue Jan 07 2020, 06:53 PM
Tue Jan 07 2020, 12:42 PM
Sun Dec 29 2019, 05:54 AM
Fri Dec 27 2019, 06:14 PM
Sat Dec 14 2019, 12:31 PM
Thu Dec 12 2019, 12:04 PM
Sun Dec 08 2019, 09:16 AM


Guests: 49, Members: 1 ...
ExperimenterUK viewing chatbox_menu.php

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38115
Newest member: usb5962
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jan 17 2020, 10:24 PM
We will need the circuit diagram.A Proteus simulat...
Billz Avatar
Posted By Billz
Sat Jan 11 2020, 05:43 PM
hi everyone please attached files are my c code fo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jan 07 2020, 08:18 PM
Not a stupid question.Setting up "Eclipse" can be...
elt Avatar
Posted By elt
Tue Jan 07 2020, 07:06 PM
So i have just began learning programming micros a...
Billz Avatar
Posted By Billz
Mon Jan 06 2020, 09:22 PM
I think it would be better if you guys try to come...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Jan 06 2020, 12:22 AM
Can you post a circuit diagram and any code you ha...
Billz Avatar
Posted By Billz
Sun Jan 05 2020, 08:17 PM
Need help regarding C code (specifically for PIC 1...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Dec 30 2019, 06:42 PM
Can you give more details of your problem.
Rupeshpatil Avatar
Posted By Rupeshpatil
Fri Dec 27 2019, 06:21 PM
How to copy program my old microcontroller to new ...
ilylily07 Avatar
Posted By ilylily07
Thu Dec 12 2019, 02:26 PM
wil do.thank you for your advice!