View previous topic :: View next topic |
Author |
Message |
hobby
Joined: 12 Apr 2004 Posts: 109 Location: Brussels
|
Posted: Sun Jun 21, 2015 2:05 pm Post subject: Why Data generate biger hex file |
|
|
Hi all,
I have file linked with this:
$data
$inc 65k_picture, 40960, "65K_picture.bas"
The file 65K_picture.bas contain 40960 decimal value. (picture 160x128 in 2bytes pixel for 65K color).
My first file, not inlude space of eache value like Data 0,0,0,0
Bascom use 53% of mega2560
My second file i add the space: Data 0 , 0 , 0 , 0
Bascom use 84% of mega2560
Why ?
Thanks
Olivier
(BASCOM-AVR version : 2.0.7.8 ) _________________ Thanks
Olivier |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sun Jun 21, 2015 8:30 pm Post subject: |
|
|
you should post the code, or a good sample representation of it.
but what you can check : you use $INC which includes a BINARY file. Maybe you want to use $INCLUDE ?
$INC just include as is. So you can include a basic program but it would be inserted as binary file and not be compiled. _________________ Mark |
|
Back to top |
|
|
hobby
Joined: 12 Apr 2004 Posts: 109 Location: Brussels
|
Posted: Sun Jun 21, 2015 8:42 pm Post subject: |
|
|
Hi Mark,
I use $inc because if i use the $include i have error and crash of bascon.
I attach the file whit data:
The data is send by to i2c device:
On main file:
Code: | ..
$include "Functions.bas"
Call Drawbitmap65k(65k_picture , 1 , 1 , 160 , 128)
Do
Loop
End
$data
$include "65K_160x128.bas"
|
On Functions.bas:
Code: |
$nocompile
Dim Adrs_label As Word
Declare Sub Drawbitmap65k(bylabel Mylabel As Word , Byval X As Byte , Byval Y As Byte , Byval Width As Byte , Byval Height As Byte) ' NO TESTED File to Big in 160x128
.....
Sub Drawbitmap65k(bylabel Mylabel As Word , Byval X As Byte , Byval Y As Byte , Byval Width As Byte , Byval Height As Byte)
Local A As Byte
Local B As Word
Local C As Word
Adrs_label = Mylabel ' this points to the BYTE address of the data
lds _dptrl,{Adrs_label } ' point to
LDS _dptrh,{Adrs_label+1}
B = Width * Height ' Number of data
B = B * 2 ' 1 pixel = 2 bytes
I2cstart
I2cwbyte Display_address
I2cwbyte &H45 ' E
I2cwbyte &H44 ' D
I2cwbyte &H49 ' I
I2cwbyte &H4D ' M
I2cwbyte &H32 ' 2
I2cwbyte X
I2cwbyte Y
I2cwbyte Width
I2cwbyte Height
For C = 1 To B
Read A
I2cwbyte A
Next C
I2cstop
End Sub
|
_________________ Thanks
Olivier |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Sun Jun 21, 2015 9:21 pm Post subject: |
|
|
hobby wrote: | I use $inc because if i use the $include i have error and |
LOL
That's about as the argument to look for a lost item in bright light, because in the dark, where it actually got lost, it's hard to see.
To include a whole bunch of Data statements with $inc creates a completely different result, as then these Data's aren't compiled, instead included one-to-one in their ascii-form into flash.
Not only the flash size gets blown up, also the Data content is unusable.
RTFM seems to be a good advice. |
|
Back to top |
|
|
hobby
Joined: 12 Apr 2004 Posts: 109 Location: Brussels
|
Posted: Sun Jun 21, 2015 11:34 pm Post subject: |
|
|
Hi,
I have tested with the small file, because the long ligne generate Error 34.
I have to file in the test,
If i use $inc$ the code size is: 134398 bytes.
If i use $include the code size is 34224 bytes.
For the good statement is $Include, but is the ligne is to long the bascom generate Error 34 on compilation and crash on open file.
The detail:
Quote: | ------------------------------------------------------------------------------
Exception log with detailed tech info. Generated on 22/06/2015 00:29:42.
You may send it to the application vendor, helping him to understand what had happened.
Application title: BASCOM-AVR
Application file: C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\bascavr.exe
------------------------------------------------------------------------------
Exception class: EFOpenError
Exception message: Cannot open file "N:\Electronique\Bascom\Tests\OLED Digole\65K_160x128.bas". Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.
Exception address: 00474987
------------------------------------------------------------------------------
Main thread ID = 3136
Exception thread ID = 3136
------------------------------------------------------------------------------
Exception stack
Stack list, generated 22/06/2015 00:29:42
(00073982){bascavr.exe } [00474982] madTraceProcess + $2156A
(00004537){bascavr.exe } [00405537]
(00073840){bascavr.exe } [00474840] madTraceProcess + $21428
(00352CBD){bascavr.exe } [00753CBD] Unknown function at madTraceProcess + $3008A5
(00358510){bascavr.exe } [00759510] Unknown function at madTraceProcess + $3060F8
(005FBC85){bascavr.exe } [009FCC85] Unknown function at madTraceProcess + $5A986D
(005FB3D6){bascavr.exe } [009FC3D6] Unknown function at madTraceProcess + $5A8FBE
(005FC12B){bascavr.exe } [009FD12B] Unknown function at madTraceProcess + $5A9D13
(00446B12){bascavr.exe } [00847B12] Unknown function at madTraceProcess + $3F46FA
(00446AAF){bascavr.exe } [00847AAF] Unknown function at madTraceProcess + $3F4697
(004495F4){bascavr.exe } [0084A5F4] Unknown function at madTraceProcess + $3F71DC
(004BF101){bascavr.exe } [008C0101] Unknown function at madTraceProcess + $46CCE9
(0044916E){bascavr.exe } [0084A16E] Unknown function at madTraceProcess + $3F6D56
(00446B12){bascavr.exe } [00847B12] Unknown function at madTraceProcess + $3F46FA
(00446AAF){bascavr.exe } [00847AAF] Unknown function at madTraceProcess + $3F4697
(0044ACD0){bascavr.exe } [0084BCD0] Unknown function at madTraceProcess + $3F88B8
(0044DD62){bascavr.exe } [0084ED62] Unknown function at madTraceProcess + $3FB94A
(00433A86){bascavr.exe } [00834A86] Unknown function at madTraceProcess + $3E166E
(000C14EB){bascavr.exe } [004C24EB] Unknown function at madTraceProcess + $6F0D3
(000BC84E){bascavr.exe } [004BD84E] Unknown function at madTraceProcess + $6A436
(000C54EF){bascavr.exe } [004C64EF] Unknown function at madTraceProcess + $730D7
(000700B4){bascavr.exe } [004710B4] madTraceProcess + $1DC9C
(0008B4CC){bascavr.exe } [0048C4CC] Unknown function at madTraceProcess + $390B4
(000C4C18){bascavr.exe } [004C5C18] Unknown function at madTraceProcess + $72800
(000C4C2D){bascavr.exe } [004C5C2D] Unknown function at madTraceProcess + $72815
(000C4FA0){bascavr.exe } [004C5FA0] Unknown function at madTraceProcess + $72B88
(000C54EF){bascavr.exe } [004C64EF] Unknown function at madTraceProcess + $730D7
(0043CE16){bascavr.exe } [0083DE16] Unknown function at madTraceProcess + $3EA9FE
(00440CCE){bascavr.exe } [00841CCE] Unknown function at madTraceProcess + $3EE8B6
(00435D1B){bascavr.exe } [00836D1B] Unknown function at madTraceProcess + $3E3903
(00434F92){bascavr.exe } [00835F92] Unknown function at madTraceProcess + $3E2B7A
(004344DC){bascavr.exe } [008354DC] Unknown function at madTraceProcess + $3E20C4
(000C4C18){bascavr.exe } [004C5C18] Unknown function at madTraceProcess + $72800
(0007D10C){bascavr.exe } [0047E10C] madTraceProcess + $2ACF4
(000BC84E){bascavr.exe } [004BD84E] Unknown function at madTraceProcess + $6A436
(000E0980){bascavr.exe } [004E1980] Unknown function at madTraceProcess + $8E568
(000E09BA){bascavr.exe } [004E19BA] Unknown function at madTraceProcess + $8E5A2
(000E0CAF){bascavr.exe } [004E1CAF] Unknown function at madTraceProcess + $8E897
(0060DC5F){bascavr.exe } [00A0EC5F] Unknown function at madTraceProcess + $5BB847
------------------------------------------------------------------------------
Call stack for main thread
Stack list, generated 22/06/2015 00:29:42
(0001FC8E){ntdll.dll } [778B0C8E] ZwGetContextThread + $12
(0010563B){bascavr.exe } [0050663B] Unknown function at madTraceProcess + $B3223
(001056C0){bascavr.exe } [005066C0] Unknown function at madTraceProcess + $B32A8
(0010945A){bascavr.exe } [0050A45A] Unknown function at madTraceProcess + $B7042
(001091E1){bascavr.exe } [0050A1E1] Unknown function at madTraceProcess + $B6DC9
(0010AD0C){bascavr.exe } [0050BD0C] Unknown function at madTraceProcess + $B88F4
(000C14EB){bascavr.exe } [004C24EB] Unknown function at madTraceProcess + $6F0D3
(000C54EF){bascavr.exe } [004C64EF] Unknown function at madTraceProcess + $730D7
(000D882B){bascavr.exe } [004D982B] Unknown function at madTraceProcess + $86413
(000C54EF){bascavr.exe } [004C64EF] Unknown function at madTraceProcess + $730D7
(000D882B){bascavr.exe } [004D982B] Unknown function at madTraceProcess + $86413
(000C4C18){bascavr.exe } [004C5C18] Unknown function at madTraceProcess + $72800
(0007D10C){bascavr.exe } [0047E10C] madTraceProcess + $2ACF4
(000BC84E){bascavr.exe } [004BD84E] Unknown function at madTraceProcess + $6A436
(000E0980){bascavr.exe } [004E1980] Unknown function at madTraceProcess + $8E568
(000E09BA){bascavr.exe } [004E19BA] Unknown function at madTraceProcess + $8E5A2
(000DCCF7){bascavr.exe } [004DDCF7] Unknown function at madTraceProcess + $8A8DF
(0010AC63){bascavr.exe } [0050BC63] Unknown function at madTraceProcess + $B884B
(00073982){bascavr.exe } [00474982] madTraceProcess + $2156A
(0010A2F1){bascavr.exe } [0050B2F1] Unknown function at madTraceProcess + $B7ED9
(00107DA0){bascavr.exe } [00508DA0] Unknown function at madTraceProcess + $B5988
(00108456){bascavr.exe } [00509456] Unknown function at madTraceProcess + $B603E
(000E0DD5){bascavr.exe } [004E1DD5] Unknown function at madTraceProcess + $8E9BD
(00446ACD){bascavr.exe } [00847ACD] Unknown function at madTraceProcess + $3F46B5
(00073982){bascavr.exe } [00474982] madTraceProcess + $2156A
(000FFEA7){bascavr.exe } [00500EA7] Unknown function at madTraceProcess + $ADA8F
(000FFEC1){bascavr.exe } [00500EC1] Unknown function at madTraceProcess + $ADAA9
(00250BA3){bascavr.exe } [00651BA3] Unknown function at madTraceProcess + $1FE78B
(00250DBB){bascavr.exe } [00651DBB] Unknown function at madTraceProcess + $1FE9A3
(0006FA06){bascavr.exe } [00470A06] madTraceProcess + $1D5EE
(0025122A){bascavr.exe } [0065222A] Unknown function at madTraceProcess + $1FEE12
(00002264){bascavr.exe } [00403264]
(00004184){bascavr.exe } [00405184]
(00004582){bascavr.exe } [00405582]
(00105821){bascavr.exe } [00506821] Unknown function at madTraceProcess + $B3409
(000700B4){bascavr.exe } [004710B4] madTraceProcess + $1DC9C
(00104F78){bascavr.exe } [00505F78] Unknown function at madTraceProcess + $B2B60
(0010552E){bascavr.exe } [0050652E] Unknown function at madTraceProcess + $B3116
(001054D8){bascavr.exe } [005064D8] Unknown function at madTraceProcess + $B30C0
(001054E1){bascavr.exe } [005064E1] Unknown function at madTraceProcess + $B30C9
(00073982){bascavr.exe } [00474982] madTraceProcess + $2156A
(000FFEA7){bascavr.exe } [00500EA7] Unknown function at madTraceProcess + $ADA8F
(000FFEC1){bascavr.exe } [00500EC1] Unknown function at madTraceProcess + $ADAA9
(000FFF38){bascavr.exe } [00500F38] Unknown function at madTraceProcess + $ADB20
(00073982){bascavr.exe } [00474982] madTraceProcess + $2156A
(00004537){bascavr.exe } [00405537]
(00073840){bascavr.exe } [00474840] madTraceProcess + $21428
(00352CBD){bascavr.exe } [00753CBD] Unknown function at madTraceProcess + $3008A5
(00358510){bascavr.exe } [00759510] Unknown function at madTraceProcess + $3060F8
(005FBC85){bascavr.exe } [009FCC85] Unknown function at madTraceProcess + $5A986D
(005FB3D6){bascavr.exe } [009FC3D6] Unknown function at madTraceProcess + $5A8FBE
(005FC12B){bascavr.exe } [009FD12B] Unknown function at madTraceProcess + $5A9D13
(00446B12){bascavr.exe } [00847B12] Unknown function at madTraceProcess + $3F46FA
(00446AAF){bascavr.exe } [00847AAF] Unknown function at madTraceProcess + $3F4697
(004495F4){bascavr.exe } [0084A5F4] Unknown function at madTraceProcess + $3F71DC
(004BF101){bascavr.exe } [008C0101] Unknown function at madTraceProcess + $46CCE9
(0044916E){bascavr.exe } [0084A16E] Unknown function at madTraceProcess + $3F6D56
(00446B12){bascavr.exe } [00847B12] Unknown function at madTraceProcess + $3F46FA
(00446AAF){bascavr.exe } [00847AAF] Unknown function at madTraceProcess + $3F4697
(0044ACD0){bascavr.exe } [0084BCD0] Unknown function at madTraceProcess + $3F88B8
(0044DD62){bascavr.exe } [0084ED62] Unknown function at madTraceProcess + $3FB94A
(00433A86){bascavr.exe } [00834A86] Unknown function at madTraceProcess + $3E166E
(000C14EB){bascavr.exe } [004C24EB] Unknown function at madTraceProcess + $6F0D3
(000BC84E){bascavr.exe } [004BD84E] Unknown function at madTraceProcess + $6A436
(000C54EF){bascavr.exe } [004C64EF] Unknown function at madTraceProcess + $730D7
(000700B4){bascavr.exe } [004710B4] madTraceProcess + $1DC9C
(0008B4CC){bascavr.exe } [0048C4CC] Unknown function at madTraceProcess + $390B4
(000C4C18){bascavr.exe } [004C5C18] Unknown function at madTraceProcess + $72800
(000C4C2D){bascavr.exe } [004C5C2D] Unknown function at madTraceProcess + $72815
(000C4FA0){bascavr.exe } [004C5FA0] Unknown function at madTraceProcess + $72B88
(000C54EF){bascavr.exe } [004C64EF] Unknown function at madTraceProcess + $730D7
(0043CE16){bascavr.exe } [0083DE16] Unknown function at madTraceProcess + $3EA9FE
(00440CCE){bascavr.exe } [00841CCE] Unknown function at madTraceProcess + $3EE8B6
(00435D1B){bascavr.exe } [00836D1B] Unknown function at madTraceProcess + $3E3903
(00434F92){bascavr.exe } [00835F92] Unknown function at madTraceProcess + $3E2B7A
(004344DC){bascavr.exe } [008354DC] Unknown function at madTraceProcess + $3E20C4
(000C4C18){bascavr.exe } [004C5C18] Unknown function at madTraceProcess + $72800
(0007D10C){bascavr.exe } [0047E10C] madTraceProcess + $2ACF4
(000BC84E){bascavr.exe } [004BD84E] Unknown function at madTraceProcess + $6A436
(000E0980){bascavr.exe } [004E1980] Unknown function at madTraceProcess + $8E568
(000E09BA){bascavr.exe } [004E19BA] Unknown function at madTraceProcess + $8E5A2
(000E0CAF){bascavr.exe } [004E1CAF] Unknown function at madTraceProcess + $8E897
(0060DC5F){bascavr.exe } [00A0EC5F] Unknown function at madTraceProcess + $5BB847
------------------------------------------------------------------------------
System : Windows 7 Professional, Version: 6.1, Build: 1DB1, "Service Pack 1"
Processor: Intel, Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz, 3990 MHz MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 64 bits DEP
Memory: 4095; free 2337
Display : 2209x1297 pixels, 32 bpp
------------------------------------------------------------------------------
List of loaded modules:
[00020000] C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\BSCAVRL.DLL
<00400000> (no module version info)
[00400000] C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\bascavr.exe
2.0.7.8 - 2.0.7.8
BASCOM-AVR IDE
Unit versioning information:
JCL\source\common JclResources.pas 3850 2012-08-28 16:44:17 +0200 (mar. 28 août 2012)
JCL\source\common JclBase.pas 3865 2012-09-05 20:00:33 +0200 (mer. 05 sept. 2012)
JCL\source\windows JclWin32.pas 3796 2012-05-23 15:57:30 +0200 (mer. 23 mai 2012)
JCL\source\common JclLogic.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common JclStringConversions.pas 3795 2012-05-16 21:09:59 +0200 (mer. 16 mai 2012)
JCL\source\common JclCharsets.pas 3819 2012-08-14 11:25:52 +0200 (mar. 14 août 2012)
JCL\source\common Jcl8087.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common JclMath.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common JclStreams.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\common JclAnsiStrings.pas 3668 2012-01-03 20:03:51 +0100 (mar. 03 janv. 2012)
JCL\source\common JclUnicode.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\common JclWideStrings.pas 3759 2012-03-04 19:39:47 +0100 (dim. 04 mars 2012)
JCL\source\common JclStrings.pas 3770 2012-03-11 18:27:44 +0100 (dim. 11 mars 2012)
JCL\source\windows JclRegistry.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\common JclSynch.pas 3759 2012-03-04 19:39:47 +0100 (dim. 04 mars 2012)
JCL\source\windows JclShell.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\windows JclSecurity.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common JclDateTime.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common JclFileUtils.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\windows JclConsole.pas 3724 2012-02-12 23:30:08 +0100 (dim. 12 févr. 2012)
JCL\source\common JclSysUtils.pas 3860 2012-09-03 16:52:06 +0200 (lun. 03 sept. 2012)
JCL\source\common JclUnitVersioning.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\windows Snmp.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common JclIniFiles.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common JclSysInfo.pas 3843 2012-08-22 17:40:33 +0200 (mer. 22 août 2012)
JCL\source\windows JclPeImage.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\common JclUnitVersioningProviders.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\windows JclTD32.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\windows JclHookExcept.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\windows JclDebug.pas 3861 2012-09-04 16:08:04 +0200 (mar. 04 sept. 2012)
JCL\source\common JclRTTI.pas 3759 2012-03-04 19:39:47 +0100 (dim. 04 mars 2012)
JCL\source\common JclMime.pas 3599 2011-09-03 00:07:50 +0200 (sam. 03 sept. 2011)
JCL\source\common $URL$ $Revision$ $Date$
[014A0000] C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\BASC-AVR.DLL
<00200000> 2.0.7.9 - 2.0.7.9
BASCOM-AVR Compiler
[09540000] C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\SaxComm7.ocx
<10000000> 7.0.0.2182 - 7, 0, 0, 2182
Sax Comm Objects 7.0
[09D60000] C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\TVicPort.dll
<10000000> 5.0.1.1 - 6.0
TVicPort Interface Library
[10000000] C:\Program Files (x86)\MCS Electronics\BASCOM-AVR\BASCPDF.DLL
1.0.0.1 - 1.0
PDF Reader DLL
[5C5B0000] C:\Windows\SysWOW64\mshtml.dll
11.0.9600.17842 - 11.00.9600.17842 (winblue_r11.150527-0600)
Visionneuse HTML Microsoft (R)
[64620000] C:\Windows\syswow64\dbghelp.dll
6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Windows Image Helper
[70500000] C:\Windows\SysWOW64\uiautomationcore.dll
7.0.0.0 - 7.0.0.0 (win7_rtm.090713-1255)
Programme principal d’automation de l’interface utilisateur Microsoft
[70590000] C:\Windows\system32\MSACM32.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Filtre audio ACM Microsoft
[70D70000] C:\Windows\system32\D3D10Warp.dll
6.2.9200.17033 - 6.2.9200.17033 (win8_gdr.140615-1509)
Direct3D 10 Rasterizer
[70F60000] C:\Windows\SysWOW64\jscript9.dll
11.0.9600.17840 - 11.00.9600.17840 (winblue_r11.150522-0826)
Microsoft (R) JScript
[71470000] C:\Windows\system32\d2d1.dll
6.2.9200.16765 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
Bibliothèque Microsoft D2D
[71A10000] C:\Windows\system32\d3d11.dll
6.2.9200.16570 - 6.2.9200.16570 (win8_gdr.130327-1526)
Direct3D 11 Runtime
[71E80000] C:\Windows\system32\dxgi.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
DirectX Graphics Infrastructure
[71ED0000] C:\Windows\SysWOW64\ieframe.dll
11.0.9600.17840 - 11.00.9600.17840 (winblue_r11.150522-0826)
Navigateur Internet
[72B60000] C:\Windows\System32\itircl.dll
6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Microsoft® InfoTech IR Local DLL
[72B90000] C:\Windows\system32\MLANG.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL de prise en charge multilingue
[72BC0000] C:\Windows\System32\itss.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft® InfoTech Storage System Library
[72CC0000] C:\Windows\system32\msimtf.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL active du serveur IMM
[72CD0000] C:\Windows\system32\HHCTRL.OCX
6.1.7600.16385 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Contrôle de l’aide HTML Microsoft®
[72DD0000] C:\Windows\SysWOW64\api-ms-win-downlevel-shell32-l1-1-0.dll
<73260000> 6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[72FE0000] C:\Windows\system32\midimap.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft MIDI Mapper
[72FF0000] C:\Windows\system32\AUDIOSES.DLL
6.1.7601.18741 - 6.1.7600.16385 (win7_rtm.090713-1255)
Session audio
[73030000] C:\Windows\system32\AVRT.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Multimedia Realtime Runtime
[73040000] C:\Windows\system32\msacm32.drv
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Mappeur de sons Microsoft
[73050000] C:\Windows\system32\DWrite.dll
6.2.9200.17292 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
Services de typographie Microsoft DirectX
[73190000] C:\Windows\system32\ksuser.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
User CSA Library
[731A0000] C:\Windows\system32\wdmaud.drv
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Pilote du système audio Winmm
[731D0000] C:\Windows\system32\MMDevAPI.DLL
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
API MMDevice
[73290000] C:\Windows\system32\msls31.dll
3.10.349.0 - 3.10.349.0
Microsoft Line Services library file
[732D0000] C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
4.0.30319.34209 - 4.0.30319.34209 built by: FX452RTMGDR
Microsoft .NET Runtime Execution Engine
[73350000] C:\Windows\system32\mscoree.dll
4.0.40305.0 - 4.0.40305.0 (Main.040305-0000)
Microsoft .NET Runtime Execution Engine
[73470000] C:\Windows\System32\wship6.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL d’application d’assistance Winsock2 (TL/IPv6)
[73480000] C:\Windows\system32\rsaenh.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft Enhanced Cryptographic Provider
[73630000] C:\Windows\system32\SXS.DLL
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Fusion 2.5
[736C0000] C:\Windows\system32\uxtheme.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Bibliothèque de thèmes Ux Microsoft
[73760000] C:\Windows\system32\api-ms-win-downlevel-advapi32-l2-1-0.dll
<73630000> 6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[73770000] C:\Windows\system32\Secur32.dll
6.1.7601.18869 - 6.1.7601.18869 (win7sp1_gdr.150525-0603)
Security Support Provider Interface
[73780000] C:\Windows\system32\CRYPTSP.dll
6.1.7601.18741 - 6.1.7601.18741 (win7sp1_gdr.150202-1526)
Cryptographic Service Provider API
[737A0000] C:\Windows\system32\TAPI32.DLL
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL Client de l'API Microsoft® Windows(TM) Téléphonie
[737E0000] C:\Windows\system32\propsys.dll
7.0.7601.17514 - 7.00.7600.16385 (win7_rtm.090713-1255)
Système de propriétés Microsoft
[738F0000] C:\Windows\system32\winmm.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL API MCI
[73990000] C:\Windows\system32\WINNSI.DLL
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Network Store Information RPC interface
[739A0000] C:\Windows\system32\IPHLPAPI.DLL
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
API de l’application d’assistance IP
[73AB0000] C:\Windows\system32\mswsock.dll
6.1.7601.18254 - 6.1.7600.16385 (win7_rtm.090713-1255)
Fournisseur de service Sockets 2.0 de Microsoft Windows
[73B30000] C:\Windows\system32\wsock32.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Windows Socket 32-Bit DLL
[73B80000] C:\Windows\system32\RpcRtRemote.dll
6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Remote RPC Extension
[73C20000] C:\Windows\system32\oleacc.dll
7.0.0.0 - 7.0.0.0 (win7sp1_gdr.110826-1504)
Active Accessibility Core Component
[73C60000] C:\Windows\system32\winspool.drv
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Pilote de spouleur Windows
[73CE0000] C:\Windows\system32\dwmapi.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
API du Gestionnaire de fenêtres du Bureau Microsoft
[73E80000] C:\Windows\system32\MSVFW32.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL Microsoft Video for Windows
[73EB0000] C:\Windows\system32\ntmarta.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Fournisseur MARTA Windows NT
[74BE0000] C:\Windows\system32\api-ms-win-downlevel-shlwapi-l2-1-0.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[74C00000] C:\Windows\system32\libusb0.dll
1.2.6.0 - 1.2.6.0
libusb-win32 - DLL
[74C20000] C:\Windows\system32\WindowsCodecs.dll
6.2.9200.17251 - 6.2.9200.17251 (win8_gdr.150128-1514)
Microsoft Windows Codecs Library
[74D60000] C:\Windows\AppPatch\AcLayers.DLL
6.1.7601.17974 - 6.1.7601.17974 (win7sp1_gdr.121015-1833)
Windows Compatibility DLL
[74DF0000] C:\Windows\system32\apphelp.dll
6.1.7601.18777 - 6.1.7600.16385 (win7_rtm.090713-1255)
Fichier DLL du client de compatibilité des applications
[74E40000] C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\comctl32.dll
6.10.7601.18837 - 6.10 (win7_rtm.090713-1255)
Bibliothèque de contrôles de l’expérience utilisateur
[74FE0000] C:\Windows\system32\rtutils.dll
6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Routing Utilities
[74FF0000] C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18834_none_72d38c5186679d48\gdiplus.dll
6.1.7601.18834 - 6.1.7601.18834 (win7sp1_gdr.150419-1507)
Microsoft GDI+
[75180000] C:\Windows\system32\olepro32.dll
6.1.7601.17514 - 6.1.7601.17514
[751A0000] C:\Windows\system32\mpr.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL de routeur de fournisseurs multiples
[751C0000] C:\Windows\system32\msimg32.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
GDIEXT Client DLL
[751D0000] C:\Windows\system32\version.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Version Checking and File Installation Libraries
[751F0000] C:\Windows\syswow64\CRYPTBASE.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Base cryptographic API DLL
[75200000] C:\Windows\syswow64\SspiCli.dll
6.1.7601.18869 - 6.1.7601.18869 (win7sp1_gdr.150525-0603)
Security Support Provider Interface
[75260000] C:\Windows\syswow64\oleaut32.dll
6.1.7601.18679 - 6.1.7601.18679
[752F0000] C:\Windows\syswow64\ADVAPI32.dll
6.1.7601.18869 - 6.1.7601.18869 (win7sp1_gdr.150525-0603)
API avancées Windows 32
[753A0000] C:\Windows\syswow64\urlmon.dll
11.0.9600.17840 - 11.00.9600.17840 (winblue_r11.150522-0826)
Extensions OLE32 pour Win32
[754F0000] C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[75500000] C:\Windows\syswow64\DEVOBJ.dll
6.1.7601.17621 - 6.1.7601.17621 (win7sp1_gdr.110523-2108)
Device Information Set DLL
[75520000] C:\Windows\syswow64\WLDAP32.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL API LDAP Win32
[75570000] C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[75580000] C:\Windows\syswow64\PSAPI.DLL
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Process Status Helper
[75590000] C:\Windows\syswow64\comdlg32.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL commune de boîtes de dialogues
[75610000] C:\Windows\syswow64\kernel32.dll
6.1.7601.18869 - 6.1.7601.18015 (win7sp1_gdr.121129-1432)
DLL du client API BASE Windows NT
[75720000] C:\Windows\syswow64\USP10.dll
1.626.7601.18454 - 1.0626.7601.18454 (win7sp1_gdr.140424-1533)
Uniscribe Unicode script processor
[757C0000] C:\Windows\syswow64\WINTRUST.dll
6.1.7601.18741 - 6.1.7601.18741 (win7sp1_gdr.150202-1526)
Microsoft Trust Verification APIs
[757F0000] C:\Windows\syswow64\LPK.dll
6.1.7601.18768 - 6.1.7601.18768 (win7sp1_gdr.150219-1512)
Language Pack
[75800000] C:\Windows\syswow64\KERNELBASE.dll
6.1.7601.18869 - 6.1.7601.18015 (win7sp1_gdr.121129-1432)
DLL du client API BASE Windows NT
[75850000] C:\Windows\syswow64\RPCRT4.dll
6.1.7601.18532 - 6.1.7600.16385 (win7_rtm.090713-1255)
Runtime d’appel de procédure distante
[75940000] C:\Windows\syswow64\normaliz.DLL
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
Unicode Normalization DLL
[75950000] C:\Windows\syswow64\MSCTF.dll
6.1.7601.18731 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL de MSCTF Server
[75A20000] C:\Windows\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[75A30000] C:\Windows\syswow64\msvcrt.dll
7.0.7601.17744 - 7.0.7601.17744 (win7sp1_gdr.111215-1535)
Windows NT CRT DLL
[75B40000] C:\Windows\syswow64\USER32.dll
6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
DLL client de l’API uilisateur de Windows multi-utilisateurs
[75C40000] C:\Windows\syswow64\WS2_32.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Windows Socket 2.0 32-Bit DLL
[75C80000] C:\Windows\syswow64\CFGMGR32.dll
6.1.7601.17621 - 6.1.7601.17621 (win7sp1_gdr.110523-2108)
Configuration Manager DLL
[75CB0000] C:\Windows\system32\IMM32.DLL
6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Multi-User Windows IMM32 API Client DLL
[75D10000] C:\Windows\syswow64\iertutil.dll
11.0.9600.17840 - 11.00.9600.17840 (winblue_r11.150522-0826)
Run time utility for Internet Explorer
[75F50000] C:\Windows\syswow64\NSI.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
NSI User-mode interface DLL
[75F60000] C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[76000000] C:\Windows\syswow64\wininet.dll
11.0.9600.17840 - 11.00.9600.16428 (winblue_gdr.131013-1700)
Extensions Internet pour Win32
[761F0000] C:\Windows\syswow64\ole32.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft OLE pour Windows
[76350000] C:\Windows\syswow64\CRYPT32.dll
6.1.7601.18741 - 6.1.7601.18741 (win7sp1_gdr.150202-1526)
Crypto API32
[76480000] C:\Windows\syswow64\GDI32.dll
6.1.7601.18778 - 6.1.7601.18778 (win7sp1_gdr.150304-1507)
GDI Client DLL
[76510000] C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[76520000] C:\Windows\syswow64\shell32.dll
6.1.7601.18762 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
DLL commune du shell Windows
[77170000] C:\Windows\syswow64\MSASN1.dll
6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
ASN.1 Runtime APIs
[77180000] C:\Windows\SysWOW64\sechost.dll
6.1.7601.18869 - 6.1.7600.16385 (win7_rtm.090713-1255)
Host for SCM/SDDL/LSA Lookup APIs
[771A0000] C:\Windows\syswow64\USERENV.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Userenv
[771C0000] C:\Windows\syswow64\SETUPAPI.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Installation de L’API Windows
[77360000] C:\Windows\syswow64\CLBCatQ.DLL
2001.12.8530.16385 - 2001.12.8530.16385 (win7_rtm.090713-1255)
COM+ Configuration Catalog
[773F0000] C:\Windows\syswow64\profapi.dll
6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
User Profile Basic API
[77400000] C:\Windows\syswow64\SHLWAPI.dll
6.1.7601.17514 - 6.1.7600.16385 (win7_rtm.090713-1255)
Bibliothèque d’utilitaires légers du Shell
[77460000] C:\Windows\syswow64\imagehlp.dll
6.1.7601.18288 - 6.1.7601.18288 (win7sp1_gdr.131018-1533)
Windows NT Image Helper
[77860000] C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
6.2.9200.16492 - 6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
[77890000] C:\Windows\SysWOW64\ntdll.dll
6.1.7601.18869 - 6.1.7600.16385 (win7_rtm.090713-1255)
DLL Couche NT
------------------------------------------------------------------------------
Active Controls hierarchy:
TDCMemo "view"
TMDICHild "MDIChild_3"
------------------------------------------------------------------------------
|
_________________ Thanks
Olivier |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Sun Jun 21, 2015 11:58 pm Post subject: Expand include... |
|
|
Why not, just for test, put the complete text of the include file on the place where you use the $include, making it one single program and do a compile. And perhaps also remove the $data statement, just for testing.
Have fun
Ben Zijlstra |
|
Back to top |
|
|
hobby
Joined: 12 Apr 2004 Posts: 109 Location: Brussels
|
Posted: Mon Jun 22, 2015 1:25 am Post subject: |
|
|
Hi Ben,
I can not, the IDE crash.
I have create the 65K_160x128.bas with another text editor, i can open this file in bascom.
For my is not good solution in function.bas i have +/- 40 sub and function, and i have not finish to add....
Thanks.
Olivier |
|
Back to top |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
Posted: Mon Jun 22, 2015 8:44 am Post subject: |
|
|
Don't forget the label in "65K_160x128.bas"
Code: |
MyLabel:
Data 43 , 103 , 51 , 103 , 51 , 103
Data 43 , 103 , 51 , 104 , 67
.
.
.
.
.
|
_________________ www.evertdekker.com Bascom code vault |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Mon Jun 22, 2015 9:20 am Post subject: |
|
|
when you include a file you can best give it the INC extension.
your data lines are very long. good practice is to use 16 values after the DATA statement. this way all values fit into the window and they are all visible. The compiler crash on the amount of values. I changed that but you are better off with generating a file that has less data values per line.
when including such data you are also better off by including a binary file. only when you want to keep all data in the source, you can best use DATA.
Then when using DATA, you MUST use $INCLUDE. You can not use $INC. It is totally different.
The effect of a file with content :
DATA 65,66
$include "that file.inc" ' contains DATA 65,66
this will include 2 bytes since the compiler will change the 65 and 66 into 1 word.
when you use $INC on the same file the compiler will just read the data and include it as is :
so you end up with "DATA 65,66" which means 10 bytes ! 4 for DATA, 1 for space and 65 as 2 bytes, a comma and 66 as 2 bytes.
Just try it with small sample and look with a binary viewer to see what i mean.
$INC is great to include binary info like images, sounds, fonts, etc.
so in short : reduce the number of elements in your data lines, and use $INCLUDE. Or use the binary source you have which created the DATA lines, and use $INC. _________________ Mark |
|
Back to top |
|
|
hobby
Joined: 12 Apr 2004 Posts: 109 Location: Brussels
|
Posted: Mon Jun 22, 2015 9:58 am Post subject: |
|
|
Thanks to reply Mark.
I use web url for converting image to data, after i use excel for generate the code for bascom.
I try to create small apps for create small ligne.
Thanks
Olivier |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|