2015年12月29日 星期二

New build asrock am1b-itx am1 xp-sp2 system

[new-system asrock am1b-itx MINI-ITX am1 xp-sp2]
install xpsp2 with shipped dvd driver ,
all hardware device driver install OK, all driver identify by system.
After a little test and usage.
system seems not work perfectly with vga driver
 ( sometime BSOD with ATI2DVAG.DLL error)

after update with 14-4-xp32-64-dd-ccc-pack3.exe  from AMD sites'  legency driver

The whole system became more more more stable,
and ATI2DVAG.DLL Blue BSOD disappear.


[新系統 asrock am1b-itx am1 xp-sp2]
新裝了 xp-sp2 的 am1b-itx CPU 5350 , 8G ram , 320G 2.5" harddisk.
用 附帶的 dvd-driver 安裝, 裝置管理員,所有的裝置都有找到適當的驅動.
一開始的時候 vga driver 在開啟新的 ap 時(如sketchup) 不定時會 bsod 死當,或跳回
640x480 16 色模式.

到 amd 網站下載 14-4-xp32-64-dd-ccc-pack3.exe 安裝了新的驅動後,
整個系統就非常穩定, 沒有再發生 vga driver 異常,或系統死當的情形了.

標籤: , , , , , ,

2015年7月3日 星期五

must modify to compile iVerilog 2015-07-01 HEAD version

Below change is for Mingw32 to build icarus iverilog 2015-07-01 git HEAD version
and mingw must have pthread dev package installed


\MinGW\msys\1.0\home\lcf\iverilog\config.h (3 hits)
    Line 38: // lcf
    Line 41: // lcf
    Line 44: // lcf
# undef HAVE_TIMES
//# undef HAVE_IOSFWD
#define HAVE_IOSFWD
// lcf
//# undef HAVE_GETOPT_H
#define HAVE_GETOPT_H
// lcf
// # undef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H
// lcf
# undef HAVE_LIBIBERTY_H


   
\MinGW\msys\1.0\home\lcf\iverilog\libveriuser\config.h (1 hit)
    Line 42: // lcf

#include  stdint.h     // angle bracket
// lcf
#endif /* IVL_config_H */   


   
\MinGW\msys\1.0\home\lcf\iverilog\libveriuser\priv.h (1 hit)
    Line 24: // lcf
# include  stdio.h   // angle bracket
#include "config.h"
// lcf   



\MinGW\msys\1.0\home\lcf\iverilog\vhdlpp\vhdlpp_config.h (1 hit)
    Line 33: // lcf
// # undef HAVE_GETOPT_H
#define HAVE_GETOPT_H
// lcf
// # undef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H
   

   
\MinGW\msys\1.0\home\lcf\iverilog\vpi\sys_priv.h (1 hit)
    Line 25: // lcf
#include  stdint.h    // angle bracket
// lcf   
   
   
   
\MinGW\msys\1.0\home\lcf\iverilog\vvp\config.h (3 hits)
    Line 43: // lcf
    Line 49: // lcf
    Line 56: // lcf
// # undef HAVE_IOSFWD
#define HAVE_IOSFWD
// lcf

# undef HAVE_DLFCN_H
# undef HAVE_DL_H
// # undef HAVE_GETOPT_H
#define HAVE_GETOPT_H
// lcf
# undef HAVE_LIBREADLINE
# undef HAVE_READLINE_READLINE_H
# undef HAVE_LIBHISTORY
# undef HAVE_READLINE_HISTORY_H
// # undef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H
// lcf

標籤: , ,

2015年6月15日 星期一

How to Use 22nice CP/M 2.2 emulator in dosbox(emu)



[[[1]  22nce142.zip  extract  x:\22nice     ;; x: is your selection drive maybe c: d:

[[[2] change dosbox.conf     in [autoexec]  section

  mount c x:\22nice
  c:

[[[3] copy some  cpm(80)   .com file to    x:\22nice   , for example MBASIC.COM


[[[4]  rename x:\22nice\MBASIC.COM   to MBASIC.CPM


[[[5] START DOSBOX

[[[6]
22NICE.exe [CR]
GENCOM MBASIC.CPM PROCESSOR=Z80  ;; will generate small MBASIC.COM

MBASIC [CR]    ;;  RUN z80/cpm80's MBASIC  will bring up Microsoft cp/m basic
 
      

標籤: , , ,

2015年5月26日 星期二

build your own custom menu_bar in sketchUP 8

icon png file and ruby file  put in  Your_sketchup_install_dir/Plugins/m/

FILE: tool_bar_test.rb


   require 'sketchup.rb'
    puts("start tool_bar_test")

    toolbar = UI::Toolbar.new "tool_my_bar"

    cmd = UI::Command.new("xyz_cmd 1") {
       Sketchup.send_action("selectDimensionTool:")
       # UI.messagebox "exe cmd 1"

    }

    path="Plugins/m/"
    
    ic_1 = "reset_16.png"
    ic_2 = "reset_24.png"    

    small=Sketchup.find_support_file(ic_1 ,path)
    large=Sketchup.find_support_file(ic_2 ,path)
    cmd.small_icon = small
    cmd.large_icon = large
    cmd.tooltip = "I am cmd 1"
    cmd.status_bar_text = "st I am cmd 1"
    cmd.menu_text = "cmd 1 txt"
    toolbar = toolbar.add_item cmd


    cmd2 = UI::Command.new("xyz_cmd 2") {
       UI.messagebox "ver [004] exe cmd2"
    }
    # ic_1 = "northtool_small.png"
    # ic_2 = "northtool.png"   
    small=Sketchup.find_support_file(ic_1 ,path)
    large=Sketchup.find_support_file(ic_2 ,path)
    cmd2.small_icon = small
    cmd2.large_icon = large
    cmd2.tooltip = "Test cmd2"
    cmd2.status_bar_text = "st I am cmd2"
    cmd2.menu_text = "cmd 2 txt"
    toolbar = toolbar.add_item cmd2

    toolbar.show

    puts(cmd.small_icon)
    puts(cmd.large_icon)
    puts("end tool_bar_test")

閱讀更多 »

標籤: , ,